Commit 43ba1226 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Fix use of const with __initdata in vfb.c

From:  Pablo Menichini <pablo@menichini.com.ar>

Unused piece of fluff.  Remove it.
parent 9eb42d7c
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
static void *videomemory; static void *videomemory;
static u_long videomemorysize = VIDEOMEMSIZE; static u_long videomemorysize = VIDEOMEMSIZE;
MODULE_PARM(videomemorysize, "l"); MODULE_PARM(videomemorysize, "l");
static const char *mode_option __initdata = NULL;
static struct fb_info fb_info; static struct fb_info fb_info;
static u32 vfb_pseudo_palette[17]; static u32 vfb_pseudo_palette[17];
...@@ -430,7 +429,7 @@ int __init vfb_init(void) ...@@ -430,7 +429,7 @@ int __init vfb_init(void)
fb_info.node = NODEV; fb_info.node = NODEV;
fb_info.fbops = &vfb_ops; fb_info.fbops = &vfb_ops;
retval = fb_find_mode(&fb_info.var, &fb_info, mode_option, retval = fb_find_mode(&fb_info.var, &fb_info, NULL,
NULL, 0, NULL, 8); NULL, 0, NULL, 8);
if (!retval || (retval == 4)) if (!retval || (retval == 4))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment