summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmon.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2006-12-08 11:40:28 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:29:05 +0100
commitd95159cf1b12e8e4b169094b35cbd93b887cb939 (patch)
treeda8f8f13ee4d73d7653f5004751ca00f21bc872a /drivers/video/fbmon.c
parent[PATCH] fbcmap.c: mark structs const or __read_mostly (diff)
downloadlinux-d95159cf1b12e8e4b169094b35cbd93b887cb939.tar.xz
linux-d95159cf1b12e8e4b169094b35cbd93b887cb939.zip
[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/fbmon.c')
-rw-r--r--drivers/video/fbmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c
index de93139ccbb5..6b385c39b8b5 100644
--- a/drivers/video/fbmon.c
+++ b/drivers/video/fbmon.c
@@ -58,7 +58,7 @@ struct broken_edid {
u32 fix;
};
-static struct broken_edid brokendb[] = {
+static const struct broken_edid brokendb[] = {
/* DEC FR-PCXAV-YZ */
{
.manufacturer = "DEC",