Skip to contentSkip to conversation

omapfb: Blizzard: fix pointer to be const

PATCH New Tommi Rantala 2 participants 2 messages Sep 21, 2009 – Oct 2, 2009 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omapfb: Blizzard: fix pointer to be const

Fixes a compiler warning:
warning: assignment discards qualifiers from pointer target type

---
 drivers/video/omap/blizzard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/omap/blizzard.c +1 -1
index d5e5955..ce28be6 100644
@@ -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);
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 omapfb: Blizzard: fix pointer to be const

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: omap-fixes

Initial commit ID (Likely to change): 8fa60d5614215fcf0a9e7dccee76c1445bf79f38

PatchWorks
http://patchwork.kernel.org/patch/49040/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=8fa60d5614215fcf0a9e7dccee76c1445bf79f38