X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fpci%2Faccess.c;h=24a76de49f410b91315ea8291f39ee55077dd5a0;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e3f33efdfcf124eb092049235fa41d82675cc10d;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/pci/access.c b/drivers/pci/access.c index e3f33efdf..24a76de49 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c @@ -7,7 +7,7 @@ * configuration space. */ -static spinlock_t pci_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(pci_lock); /* * Wrappers for all PCI configuration access functions. They just check