Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / arch / mips / ddb5xxx / ddb5477 / lcd44780.c
index 35c6c22..9510b9a 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
 }