]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-ite.c
[PATCH] proper flags type of spin_lock_irqsave()
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-ite.c
index d82e6dae84070951f625622229154cb32d3f2333..559a62b04ee9aa0269c69ae6104725b53aabe783 100644 (file)
@@ -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