summaryrefslogtreecommitdiffstats
path: root/arch/mips/ddb5xxx
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-11 11:15:41 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-11-17 16:23:45 +0000
commitd93efab838ee399b45379bd97b2812ecee84471b (patch)
tree3d6ef302f593e7d7f7d4da95adb65166b41a0124 /arch/mips/ddb5xxx
parent16212017a54afdb702ecc796aaa0448b795de03b (diff)
downloadblackbird-op-linux-d93efab838ee399b45379bd97b2812ecee84471b.tar.gz
blackbird-op-linux-d93efab838ee399b45379bd97b2812ecee84471b.zip
[MIPS] DDB5477: Fix unused variable warning.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ddb5xxx')
-rw-r--r--arch/mips/ddb5xxx/ddb5477/lcd44780.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/mips/ddb5xxx/ddb5477/lcd44780.c b/arch/mips/ddb5xxx/ddb5477/lcd44780.c
index 35c6c22610c5..9510b9ae6453 100644
--- a/arch/mips/ddb5xxx/ddb5477/lcd44780.c
+++ b/arch/mips/ddb5xxx/ddb5477/lcd44780.c
@@ -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
}
OpenPOWER on IntegriCloud