[MIPS] DDB5477: Fix unused variable warning.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 11 Nov 2005 11:15:41 +0000 (11:15 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2005 16:23:45 +0000 (16:23 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ddb5xxx/ddb5477/lcd44780.c

index 35c6c22610c514c71811ab2ac22e765986ea5914..9510b9ae64534ed47281f694d4a2767718758790 100644 (file)
@@ -55,7 +55,7 @@ void lcd44780_data(unsigned char c)
 
 void lcd44780_puts(const char* s)
 {
-       int i,j;
+       int j;
        int pos = 0;
 
        lcd44780_command(LCD44780_CLEAR);
@@ -76,8 +76,12 @@ void lcd44780_puts(const char* s)
                }
        }
 #ifdef LCD44780_PUTS_PAUSE
-       for(i = 1; i < 2000; i++)
-               lcd44780_wait();
+       {
+               int i;
+
+               for(i = 1; i < 2000; i++)
+                       lcd44780_wait();
+       }
 #endif
 }