From ac2093ee725623caaf34ebaa36709e10e38cfa31 Mon Sep 17 00:00:00 2001 From: Frank Beesley Date: Wed, 30 Mar 2005 22:08:41 -0800 Subject: [PATCH] I2C: Clean up of i2c-elektor.c build This patch changes the flags variable type from long to unsigned long in one function. This removes a couple of warnings from the compile messages for elektor i2c bus driver. Signed-off-by: Frank Beesley Signed-off-by: Greg Kroah-Hartman --- drivers/i2c/busses/i2c-elektor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 23de73e37abd5..0a7720000a0c5 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c @@ -112,7 +112,7 @@ static int pcf_isa_getclock(void *data) static void pcf_isa_waitforpin(void) { DEFINE_WAIT(wait); int timeout = 2; - long flags; + unsigned long flags; if (irq > 0) { spin_lock_irqsave(&lock, flags); -- cgit 1.2.3-korg