summaryrefslogtreecommitdiff
path: root/drivers/video/console/sticon.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2006-12-08 13:40:28 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 19:29:05 +0300
commitd95159cf1b12e8e4b169094b35cbd93b887cb939 (patch)
treeda8f8f13ee4d73d7653f5004751ca00f21bc872a /drivers/video/console/sticon.c
parentadf6b206546414fd006098d027e81f2b576ea2aa (diff)
downloadlinux-d95159cf1b12e8e4b169094b35cbd93b887cb939.tar.xz
[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/console/sticon.c')
-rw-r--r--drivers/video/console/sticon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/sticon.c b/drivers/video/console/sticon.c
index 45586aaabd1e..57b21e533036 100644
--- a/drivers/video/console/sticon.c
+++ b/drivers/video/console/sticon.c
@@ -345,7 +345,7 @@ static void sticon_save_screen(struct vc_data *conp)
{
}
-static struct consw sti_con = {
+static const struct consw sti_con = {
.owner = THIS_MODULE,
.con_startup = sticon_startup,
.con_init = sticon_init,