summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Deak <imre.deak@nokia.com>2009-09-22 16:47:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:50 -0700
commit366ec51ba9622c44191fcf4d77ed4dc84acbdeec (patch)
tree865fa5172b4561f81c4be3c9103826ae72bbb8dd
parentb1d51dbb79c6398c88b45d4211545621b4d1a11c (diff)
downloadop-kernel-dev-366ec51ba9622c44191fcf4d77ed4dc84acbdeec.zip
op-kernel-dev-366ec51ba9622c44191fcf4d77ed4dc84acbdeec.tar.gz
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 5d4f348..ca51583 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;
OpenPOWER on IntegriCloud