w100fb: fix building error caused by incorrect use of writel()
PATCH 1/1 w100fb: fix building error caused by incorrect use of writel()
Signed-off-by Eric Miao <[email protected]>
Cc stable <[email protected]>
--- drivers/video/w100fb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/w100fb.c +2 -2
@@ -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);
Signature · 1 line
1.7.1