projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1621201
)
[MIPS] DDB5477: Fix unused variable warning.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 11 Nov 2005 11:15:41 +0000
(11:15 +0000)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/arch/mips/ddb5xxx/ddb5477/lcd44780.c
b/arch/mips/ddb5xxx/ddb5477/lcd44780.c
index
35c6c22
..
9510b9a
100644
(file)
--- 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
}