From: Imre Deak Date: Tue, 22 Sep 2009 23:47:00 +0000 (-0700) Subject: omapfb: HWA742: fix pointer to be const X-Git-Tag: firefly_0821_release~12512 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=366ec51ba9622c44191fcf4d77ed4dc84acbdeec;p=firefly-linux-kernel-4.4.55.git omapfb: HWA742: fix pointer to be const Fixes the following: warning: assignment discards qualifiers from pointer target type Signed-off-by: Imre Deak Acked-by: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c index 5d4f34887a22..ca51583ec98a 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;