aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbcvt.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2006-12-08 05:40:28 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:29:05 -0500
commitd95159cf1b12e8e4b169094b35cbd93b887cb939 (patch)
treeda8f8f13ee4d73d7653f5004751ca00f21bc872a /drivers/video/fbcvt.c
parentadf6b206546414fd006098d027e81f2b576ea2aa (diff)
[PATCH] various fbdev files: mark structs and array read-only
- move some structs and arrays to the read-only (.rodata) section [akpm@osdl.org: build fix] Signed-off-by: Helge Deller <deller@gmx.de> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/fbcvt.c')
-rw-r--r--drivers/video/fbcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbcvt.c b/drivers/video/fbcvt.c
index b5498999c4ec..0847c5e72cbd 100644
--- a/drivers/video/fbcvt.c
+++ b/drivers/video/fbcvt.c
@@ -57,7 +57,7 @@ struct fb_cvt_data {
57 u32 status; 57 u32 status;
58}; 58};
59 59
60static int fb_cvt_vbi_tab[] = { 60static const unsigned char fb_cvt_vbi_tab[] = {
61 4, /* 4:3 */ 61 4, /* 4:3 */
62 5, /* 16:9 */ 62 5, /* 16:9 */
63 6, /* 16:10 */ 63 6, /* 16:10 */