diff options
-rw-r--r-- | drivers/ata/pata_winbond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c index aa6d4bca2ea3..cc4ad271afb5 100644 --- a/drivers/ata/pata_winbond.c +++ b/drivers/ata/pata_winbond.c | |||
@@ -35,7 +35,7 @@ static int probe_winbond = 1; | |||
35 | static int probe_winbond; | 35 | static int probe_winbond; |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | static spinlock_t winbond_lock = SPIN_LOCK_UNLOCKED; | 38 | static DEFINE_SPINLOCK(winbond_lock); |
39 | 39 | ||
40 | static void winbond_writecfg(unsigned long port, u8 reg, u8 val) | 40 | static void winbond_writecfg(unsigned long port, u8 reg, u8 val) |
41 | { | 41 | { |