aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilind Arun Choudhary <milindchoudhary@gmail.com>2007-04-26 03:19:27 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 15:16:40 -0400
commit225036314e768bbfe8331ea9b0e91ca101afe427 (patch)
treef18b7ec54e051519207d62efee853f2615ea6eda
parent4b22afd743a3882123a16135fa863558c0ac2d94 (diff)
SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c
remove SPIN_LOCK_UNLOCKED, use DEFINE_SPINLOCK instead Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/ata/pata_winbond.c2
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;
35static int probe_winbond; 35static int probe_winbond;
36#endif 36#endif
37 37
38static spinlock_t winbond_lock = SPIN_LOCK_UNLOCKED; 38static DEFINE_SPINLOCK(winbond_lock);
39 39
40static void winbond_writecfg(unsigned long port, u8 reg, u8 val) 40static void winbond_writecfg(unsigned long port, u8 reg, u8 val)
41{ 41{