summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap/hwa742.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@nokia.com>2009-09-23 01:47:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 16:39:50 +0200
commit366ec51ba9622c44191fcf4d77ed4dc84acbdeec (patch)
tree865fa5172b4561f81c4be3c9103826ae72bbb8dd /drivers/video/omap/hwa742.c
parentomapfb: add FB manual update option to Kconfig (diff)
downloadlinux-366ec51ba9622c44191fcf4d77ed4dc84acbdeec.tar.xz
linux-366ec51ba9622c44191fcf4d77ed4dc84acbdeec.zip
omapfb: HWA742: fix pointer to be const
Fixes the following: warning: assignment discards qualifiers from pointer target type Signed-off-by: Imre Deak <imre.deak@nokia.com> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/omap/hwa742.c')
-rw-r--r--drivers/video/omap/hwa742.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c
index 5d4f34887a22..ca51583ec98a 100644
--- a/drivers/video/omap/hwa742.c
+++ b/drivers/video/omap/hwa742.c
@@ -131,7 +131,7 @@ struct {
struct omapfb_device *fbdev;
struct lcd_ctrl_extif *extif;
- struct lcd_ctrl *int_ctrl;
+ const struct lcd_ctrl *int_ctrl;
struct clk *sys_ck;
} hwa742;