projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b22afd
)
SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c
author
Milind Arun Choudhary
<milindchoudhary@gmail.com>
Thu, 26 Apr 2007 07:19:27 +0000
(
00:19
-0700)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 28 Apr 2007 19:16:40 +0000
(15:16 -0400)
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>
drivers/ata/pata_winbond.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_winbond.c
b/drivers/ata/pata_winbond.c
index aa6d4bca2ea34b66d8c3092d9b4ab52a40c70e3b..cc4ad271afb58be4b21010216efd3146c8ddb9df 100644
(file)
--- a/
drivers/ata/pata_winbond.c
+++ b/
drivers/ata/pata_winbond.c
@@
-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)
{