diff options
author | Frank Beesley <frank.beesley@aeroflex.com> | 2005-03-30 22:08:41 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-03-30 22:08:41 -0800 |
commit | ac2093ee725623caaf34ebaa36709e10e38cfa31 (patch) | |
tree | 449f312c65efaed3f6725df0b7269e6980d2b645 | |
parent | 9800e965a4fbe190a8b5bdb1b52b415564d67757 (diff) | |
download | history-ac2093ee725623caaf34ebaa36709e10e38cfa31.tar.gz |
[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 <frank.beesley@aeroflex.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/i2c/busses/i2c-elektor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 23de73e37abd5d..0a7720000a0c5d 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); |