mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
drivers/video/w100fb.c: ignore void return value / fix build failure
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]>
This commit is contained in:
parent
d9e1b6c450
commit
fa260c00c1
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue