diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-05-11 01:33:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-11 12:38:04 -0400 |
commit | 87b247c41674e29f90bf4938799ab079951ccc6b (patch) | |
tree | a64d91af3f6c2423629da2799da1e2382dc7a5f9 /arch/arm/mach-omap2 | |
parent | a0d6333742c68b321043e4982ec413951ee9afb0 (diff) |
[ARM] Spinlock initializer cleanup
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 54c836a98456..e290b989aa94 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | static struct resource gpmc_mem_root; | 55 | static struct resource gpmc_mem_root; |
56 | static struct resource gpmc_cs_mem[GPMC_CS_NUM]; | 56 | static struct resource gpmc_cs_mem[GPMC_CS_NUM]; |
57 | static spinlock_t gpmc_mem_lock = SPIN_LOCK_UNLOCKED; | 57 | static DEFINE_SPINLOCK(gpmc_mem_lock); |
58 | static unsigned gpmc_cs_map; | 58 | static unsigned gpmc_cs_map; |
59 | 59 | ||
60 | static void __iomem *gpmc_base = | 60 | static void __iomem *gpmc_base = |