diff options
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 25f460ca0daf..7705070191d9 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c | |||
@@ -1257,6 +1257,8 @@ int fb_new_modelist(struct fb_info *info) | |||
1257 | static char *video_options[FB_MAX]; | 1257 | static char *video_options[FB_MAX]; |
1258 | static int ofonly; | 1258 | static int ofonly; |
1259 | 1259 | ||
1260 | extern const char *global_mode_option; | ||
1261 | |||
1260 | /** | 1262 | /** |
1261 | * fb_get_options - get kernel boot parameters | 1263 | * fb_get_options - get kernel boot parameters |
1262 | * @name: framebuffer name as it would appear in | 1264 | * @name: framebuffer name as it would appear in |
@@ -1297,9 +1299,6 @@ int fb_get_options(char *name, char **option) | |||
1297 | return retval; | 1299 | return retval; |
1298 | } | 1300 | } |
1299 | 1301 | ||
1300 | |||
1301 | extern const char *global_mode_option; | ||
1302 | |||
1303 | /** | 1302 | /** |
1304 | * video_setup - process command line options | 1303 | * video_setup - process command line options |
1305 | * @options: string of options | 1304 | * @options: string of options |
@@ -1313,7 +1312,7 @@ extern const char *global_mode_option; | |||
1313 | * Returns zero. | 1312 | * Returns zero. |
1314 | * | 1313 | * |
1315 | */ | 1314 | */ |
1316 | int __init video_setup(char *options) | 1315 | static int __init video_setup(char *options) |
1317 | { | 1316 | { |
1318 | int i, global = 0; | 1317 | int i, global = 0; |
1319 | 1318 | ||