aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-10-16 04:29:51 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:22 -0400
commit9a054fbac8f8441f48896b855a9e11c13e0c3dc8 (patch)
tree8c2dca0b0baf4c576e28cc9324e509c59c0b59b1 /drivers/video/fbmem.c
parent61e0b28e5435ac3010746bcf24fe8a16425d0343 (diff)
fb: move and rename extern declaration for global_mode_option
Move the extern declaration for global_mode_option to <linux/fb.h> and rename the variable to fb_mode_option. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r--drivers/video/fbmem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index db0c34863849..1194f5e060ea 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1567,8 +1567,6 @@ int fb_new_modelist(struct fb_info *info)
1567static char *video_options[FB_MAX] __read_mostly; 1567static char *video_options[FB_MAX] __read_mostly;
1568static int ofonly __read_mostly; 1568static int ofonly __read_mostly;
1569 1569
1570extern const char *global_mode_option;
1571
1572/** 1570/**
1573 * fb_get_options - get kernel boot parameters 1571 * fb_get_options - get kernel boot parameters
1574 * @name: framebuffer name as it would appear in 1572 * @name: framebuffer name as it would appear in
@@ -1636,7 +1634,7 @@ static int __init video_setup(char *options)
1636 } 1634 }
1637 1635
1638 if (!global && !strstr(options, "fb:")) { 1636 if (!global && !strstr(options, "fb:")) {
1639 global_mode_option = options; 1637 fb_mode_option = options;
1640 global = 1; 1638 global = 1;
1641 } 1639 }
1642 1640