summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2009-10-05 13:31:46 -0700
committerTony Lindgren <tony@atomide.com>2009-10-06 08:31:50 -0700
commit7999cad0e3d59f3430173288048c971bef3ec492 (patch)
tree04586c4e39ed247847e53c3a7382de82abe672d5 /drivers/video/omap
parent03bb2b493cf58edf11e5966f8469534259d2fffe (diff)
downloadop-kernel-dev-7999cad0e3d59f3430173288048c971bef3ec492.zip
op-kernel-dev-7999cad0e3d59f3430173288048c971bef3ec492.tar.gz
omapfb: Blizzard: fix pointer to be const
Fixes a compiler warning: warning: assignment discards qualifiers from pointer target type Cc: Tomi Valkeinen <tomi.valkeinen@nokia.com> Cc: Imre Deak <imre.deak@nokia.com> Signed-off-by: Tommi Rantala <tt.rantala@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/video/omap')
-rw-r--r--drivers/video/omap/blizzard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap/blizzard.c b/drivers/video/omap/blizzard.c
index d5e5955..ce28be6 100644
--- a/drivers/video/omap/blizzard.c
+++ b/drivers/video/omap/blizzard.c
@@ -191,7 +191,7 @@ struct blizzard_struct {
struct omapfb_device *fbdev;
struct lcd_ctrl_extif *extif;
- struct lcd_ctrl *int_ctrl;
+ const struct lcd_ctrl *int_ctrl;
void (*power_up)(struct device *dev);
void (*power_down)(struct device *dev);
OpenPOWER on IntegriCloud