From: Thomas Gleixner <tglx@linutronix.de>

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/arch/m68k/atari/stram.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/m68k/atari/stram.c~lock-initializer-cleanup-m68k arch/m68k/atari/stram.c
--- 25/arch/m68k/atari/stram.c~lock-initializer-cleanup-m68k	Wed Jan 12 16:54:50 2005
+++ 25-akpm/arch/m68k/atari/stram.c	Wed Jan 12 16:54:50 2005
@@ -1033,7 +1033,7 @@ static struct block_device_operations st
 
 static struct gendisk *stram_disk;
 static struct request_queue *stram_queue;
-static spinlock_t stram_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(stram_lock);
 
 int __init stram_device_init(void)
 {
_