diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-03 08:41:19 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:35 -0400 |
commit | 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 (patch) | |
tree | 92a4e77e077718d08c6733f7abe604ca0c132042 /arch/mips/pci | |
parent | 57468af3267bfb89391f9c607a9637e86e55d299 (diff) |
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/ops-nile4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-nile4.c b/arch/mips/pci/ops-nile4.c index a7169928b351..a8d38dc8c504 100644 --- a/arch/mips/pci/ops-nile4.c +++ b/arch/mips/pci/ops-nile4.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | volatile unsigned long *const vrc_pciregs = (void *) Vrc5074_BASE; | 16 | volatile unsigned long *const vrc_pciregs = (void *) Vrc5074_BASE; |
17 | 17 | ||
18 | static spinlock_t nile4_pci_lock; | 18 | static DEFINE_SPINLOCK(nile4_pci_lock); |
19 | 19 | ||
20 | static int nile4_pcibios_config_access(unsigned char access_type, | 20 | static int nile4_pcibios_config_access(unsigned char access_type, |
21 | struct pci_bus *bus, unsigned int devfn, int where, u32 * val) | 21 | struct pci_bus *bus, unsigned int devfn, int where, u32 * val) |