[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1280999974-2585-1-git-send-email-eric.y.miao@gmail.com>
Date: Thu, 5 Aug 2010 17:19:34 +0800
From: Eric Miao <eric.y.miao@...il.com>
To: linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
<linux-fbdev@...r.kernel.org>
Cc: Eric Miao <eric.y.miao@...il.com>, stable <stable@...nel.org>
Subject: [PATCH] w100fb: fix building error caused by incorrect use of writel()
Signed-off-by: Eric Miao <eric.y.miao@...il.com>
Cc: stable <stable@...nel.org>
---
drivers/video/w100fb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index e66b8b1..d8b12c3 100644
--- 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);
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists