diff mbox

omapfb: Blizzard: fix pointer to be const

Message ID 1253537242-5300-1-git-send-email-tt.rantala@gmail.com (mailing list archive)
State Not Applicable, archived
Commit 8fa60d5614215fcf0a9e7dccee76c1445bf79f38
Delegated to: Tomi Valkeinen
Headers show

Commit Message

Tommi Rantala Sept. 21, 2009, 12:47 p.m. UTC
Fixes a compiler warning:
warning: assignment discards qualifiers from pointer target type

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
---
 drivers/video/omap/blizzard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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);