Skip to content

Commit

Permalink
SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Milind Arun Choudhary authored and Jeff Garzik committed Apr 28, 2007
1 parent 4b22afd commit 2250363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_winbond.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2250363

Please sign in to comment.