ChangeSet 1.2333, 2005/03/31 14:08:41-08:00, [EMAIL PROTECTED]

[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 <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/i2c/busses/i2c-elektor.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c
--- a/drivers/i2c/busses/i2c-elektor.c  2005-03-31 15:18:01 -08:00
+++ b/drivers/i2c/busses/i2c-elektor.c  2005-03-31 15:18:01 -08:00
@@ -112,7 +112,7 @@
 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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to