projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03bb2b4
)
omapfb: Blizzard: fix pointer to be const
author
Tommi Rantala
<
[email protected]
>
Mon, 5 Oct 2009 20:31:46 +0000
(13:31 -0700)
committer
Tony Lindgren
<
[email protected]
>
Tue, 6 Oct 2009 15:31:50 +0000
(08:31 -0700)
Fixes a compiler warning:
warning: assignment discards qualifiers from pointer target type
Cc: Tomi Valkeinen <
[email protected]
>
Cc: Imre Deak <
[email protected]
>
Signed-off-by: Tommi Rantala <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
drivers/video/omap/blizzard.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap/blizzard.c
b/drivers/video/omap/blizzard.c
index d5e59556f9e2d3a056432535129021a7d42d25ef..ce28be696a39bd87fddebc31c015fc371c94fe14 100644
(file)
--- 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);