omapfb: HWA742: fix pointer to be const
authorImre Deak <imre.deak@nokia.com>
Tue, 22 Sep 2009 23:47:00 +0000 (16:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:50 +0000 (07:39 -0700)
Fixes the following:
warning: assignment discards qualifiers from pointer target type

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/omap/hwa742.c

index 5d4f34887a22bb370f6f5bc2bedd05d2fc190b83..ca51583ec98a8040bbba3d4b0039cf707ae9ef60 100644 (file)
@@ -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;