aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-ite.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2006-09-30 23:27:37 -0700
committerLinus Torvalds <[email protected]>2006-10-01 00:39:21 -0700
commitc53421b18f205c5f97c604ae55c6a921f034b0f6 (patch)
tree375e5196d5649714737132ac287b12c1ac7091ec /drivers/i2c/busses/i2c-ite.c
parentf5579f8c7d7e2c9eb62b566c511b21091a778157 (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 <[email protected]> Cc: Miles Bader <[email protected]> Cc: "Luck, Tony" <[email protected]> Acked-by: Kyle McMartin <[email protected]> Cc: Jean Delvare <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/i2c/busses/i2c-ite.c')
-rw-r--r--drivers/i2c/busses/i2c-ite.c2
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)
static void iic_ite_waitforpin(void) {
DEFINE_WAIT(wait);
int timeout = 2;
- long flags;
+ unsigned long flags;
/* If interrupts are enabled (which they are), then put the process to
* sleep. This process will be awakened by two events -- either the