summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/ops-nile4.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/ops-nile4.c')
-rw-r--r--arch/mips/pci/ops-nile4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-nile4.c b/arch/mips/pci/ops-nile4.c
index a716992..a8d38dc 100644
--- a/arch/mips/pci/ops-nile4.c
+++ b/arch/mips/pci/ops-nile4.c
@@ -15,7 +15,7 @@
volatile unsigned long *const vrc_pciregs = (void *) Vrc5074_BASE;
-static spinlock_t nile4_pci_lock;
+static DEFINE_SPINLOCK(nile4_pci_lock);
static int nile4_pcibios_config_access(unsigned char access_type,
struct pci_bus *bus, unsigned int devfn, int where, u32 * val)
OpenPOWER on IntegriCloud