]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/pata_winbond.c
[SCSI] i2o: remove redundant GFP_ATOMIC from kmalloc from device.c
[linux-2.6-omap-h63xx.git] / drivers / ata / pata_winbond.c
index aa6d4bca2ea34b66d8c3092d9b4ab52a40c70e3b..83abfeca4057592b63af9285522ceeb9219aa6e5 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/platform_device.h>
 
 #define DRV_NAME "pata_winbond"
-#define DRV_VERSION "0.0.2"
+#define DRV_VERSION "0.0.3"
 
 #define NR_HOST 4      /* Two winbond controllers, two channels each */
 
@@ -35,7 +35,7 @@ static int probe_winbond = 1;
 static int probe_winbond;
 #endif
 
-static spinlock_t winbond_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(winbond_lock);
 
 static void winbond_writecfg(unsigned long port, u8 reg, u8 val)
 {