summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Deak <imre.deak@nokia.com>2009-09-23 03:47:00 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 18:39:50 +0400
commit366ec51ba9622c44191fcf4d77ed4dc84acbdeec (patch)
tree865fa5172b4561f81c4be3c9103826ae72bbb8dd
parentb1d51dbb79c6398c88b45d4211545621b4d1a11c (diff)
downloadlinux-366ec51ba9622c44191fcf4d77ed4dc84acbdeec.tar.xz
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>
-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;