diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-10-01 02:27:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:21 -0400 |
commit | c53421b18f205c5f97c604ae55c6a921f034b0f6 (patch) | |
tree | 375e5196d5649714737132ac287b12c1ac7091ec /drivers/i2c/busses | |
parent | f5579f8c7d7e2c9eb62b566c511b21091a778157 (diff) |
[PATCH] proper flags type of spin_lock_irqsave()
Convert various spin_lock_irqsave() callers to correctly use `unsigned long'.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Cc: "Luck, Tony" <tony.luck@intel.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-ite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ite.c b/drivers/i2c/busses/i2c-ite.c index d82e6dae8407..559a62b04ee9 100644 --- a/drivers/i2c/busses/i2c-ite.c +++ b/drivers/i2c/busses/i2c-ite.c | |||
@@ -109,7 +109,7 @@ static int iic_ite_getclock(void *data) | |||
109 | static void iic_ite_waitforpin(void) { | 109 | static void iic_ite_waitforpin(void) { |
110 | DEFINE_WAIT(wait); | 110 | DEFINE_WAIT(wait); |
111 | int timeout = 2; | 111 | int timeout = 2; |
112 | long flags; | 112 | unsigned long flags; |
113 | 113 | ||
114 | /* If interrupts are enabled (which they are), then put the process to | 114 | /* If interrupts are enabled (which they are), then put the process to |
115 | * sleep. This process will be awakened by two events -- either the | 115 | * sleep. This process will be awakened by two events -- either the |