diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-08 22:34:53 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-15 14:41:22 +0100 |
commit | 16379ad8552e183b4cf41a177ed2bad1e44d383d (patch) | |
tree | ed35f81b6eb6ee94f53e2b8b524b18f501090693 /drivers/video/fbdev/geode/geodefb.h | |
parent | simplefb: Claim and enable regulators (diff) | |
download | linux-16379ad8552e183b4cf41a177ed2bad1e44d383d.tar.xz linux-16379ad8552e183b4cf41a177ed2bad1e44d383d.zip |
video: constify geode ops structures
These geode ops structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/geode/geodefb.h')
-rw-r--r-- | drivers/video/fbdev/geode/geodefb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/geode/geodefb.h b/drivers/video/fbdev/geode/geodefb.h index ae04820e0c57..e2e07934868f 100644 --- a/drivers/video/fbdev/geode/geodefb.h +++ b/drivers/video/fbdev/geode/geodefb.h @@ -31,8 +31,8 @@ struct geodefb_par { int panel_y; void __iomem *dc_regs; void __iomem *vid_regs; - struct geode_dc_ops *dc_ops; - struct geode_vid_ops *vid_ops; + const struct geode_dc_ops *dc_ops; + const struct geode_vid_ops *vid_ops; }; #endif /* !__GEODEFB_H__ */ |