Skip to content

Commit

Permalink
omapfb: Blizzard: fix pointer to be const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tommi Rantala authored and Tony Lindgren committed Oct 6, 2009
1 parent 03bb2b4 commit 7999cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/omap/blizzard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7999cad

Please sign in to comment.