projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e1b6c
)
drivers/video/w100fb.c: ignore void return value / fix build failure
author
Peter Huewe
<
[email protected]
>
Tue, 10 Aug 2010 00:18:23 +0000
(17:18 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 10 Aug 2010 03:44:53 +0000
(20:44 -0700)
Fix a build failure "error: void value not ignored as it ought to be"
by removing an assignment of a void return value. The functionality of
the code is not changed.
Signed-off-by: Peter Huewe <
[email protected]
>
Acked-by: Henrik Kretzschmar <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/w100fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/w100fb.c
b/drivers/video/w100fb.c
index e66b8b19ce5dc1c3695a2d5a721dd3de3d951a3c..d8b12c32e3ef3d2b76b96439341d0e218653a73e 100644
(file)
--- a/
drivers/video/w100fb.c
+++ b/
drivers/video/w100fb.c
@@
-858,9
+858,9
@@
unsigned long w100fb_gpio_read(int port)
void w100fb_gpio_write(int port, unsigned long value)
{
if (port==W100_GPIO_PORT_A)
-
value =
writel(value, remapped_regs + mmGPIO_DATA);
+ writel(value, remapped_regs + mmGPIO_DATA);
else
-
value =
writel(value, remapped_regs + mmGPIO_DATA2);
+ writel(value, remapped_regs + mmGPIO_DATA2);
}
EXPORT_SYMBOL(w100fb_gpio_read);
EXPORT_SYMBOL(w100fb_gpio_write);