From: Tommi Rantala Date: Mon, 5 Oct 2009 20:31:46 +0000 (-0700) Subject: omapfb: Blizzard: fix pointer to be const X-Git-Tag: v2.6.32-rc4~33^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7999cad0e3d59f3430173288048c971bef3ec492;p=platform%2Fkernel%2Flinux-stable.git omapfb: Blizzard: fix pointer to be const Fixes a compiler warning: warning: assignment discards qualifiers from pointer target type Cc: Tomi Valkeinen Cc: Imre Deak Signed-off-by: Tommi Rantala Signed-off-by: Tony Lindgren --- 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);