]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
omapfb: Blizzard: fix pointer to be const
authorTommi Rantala <tt.rantala@gmail.com>
Mon, 5 Oct 2009 20:31:46 +0000 (13:31 -0700)
committerTony Lindgren <tony@atomide.com>
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 <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>
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);