summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/geode/display_gx1.h
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-08 22:34:53 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-15 15:41:22 +0200
commit16379ad8552e183b4cf41a177ed2bad1e44d383d (patch)
treeed35f81b6eb6ee94f53e2b8b524b18f501090693 /drivers/video/fbdev/geode/display_gx1.h
parent814740e759afe908eb60fcd973cae014c778a641 (diff)
downloadlinux-stable-16379ad8552e183b4cf41a177ed2bad1e44d383d.tar.gz
linux-stable-16379ad8552e183b4cf41a177ed2bad1e44d383d.tar.bz2
linux-stable-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/display_gx1.h')
-rw-r--r--drivers/video/fbdev/geode/display_gx1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/geode/display_gx1.h b/drivers/video/fbdev/geode/display_gx1.h
index 671c05558c79..e1cc41b343ca 100644
--- a/drivers/video/fbdev/geode/display_gx1.h
+++ b/drivers/video/fbdev/geode/display_gx1.h
@@ -18,7 +18,7 @@
unsigned gx1_gx_base(void);
int gx1_frame_buffer_size(void);
-extern struct geode_dc_ops gx1_dc_ops;
+extern const struct geode_dc_ops gx1_dc_ops;
/* GX1 configuration I/O registers */