omapfb: Blizzard: fix pointer to be const
authorTommi Rantala <[email protected]>
Mon, 5 Oct 2009 20:31:46 +0000 (13:31 -0700)
committerTony Lindgren <[email protected]>
Tue, 6 Oct 2009 15:31:50 +0000 (08:31 -0700)
Fixes a compiler warning:
warning: assignment discards qualifiers from pointer target type

Cc: Tomi Valkeinen <[email protected]>
Cc: Imre Deak <[email protected]>
Signed-off-by: Tommi Rantala <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
drivers/video/omap/blizzard.c

index d5e59556f9e2d3a056432535129021a7d42d25ef..ce28be696a39bd87fddebc31c015fc371c94fe14 100644 (file)
@@ -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);