PCI: Replace old style lock initializer
authorThomas Gleixner <tglx@linutronix.de>
Fri, 6 Nov 2009 22:41:23 +0000 (22:41 +0000)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Nov 2009 23:06:27 +0000 (15:06 -0800)
commite9d1e4921d5b62a80ed02851639249e2548d24f1
tree5fff809404f6de05ad610cffcb5b912c7dc049f3
parent5b5d94487d934be6b0aa966c9acbdf15b07ef627
PCI: Replace old style lock initializer

SPIN_LOCK_UNLOCKED is deprecated. Use DEFINE_SPINLOCK instead.

Make the lock static while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c