diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-10-16 10:29:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 18:43:22 +0200 |
commit | 9a054fbac8f8441f48896b855a9e11c13e0c3dc8 (patch) | |
tree | 8c2dca0b0baf4c576e28cc9324e509c59c0b59b1 /drivers/video/modedb.c | |
parent | ps3fb: enhance horizontal panning on firmware 1.90 and up (diff) | |
download | linux-9a054fbac8f8441f48896b855a9e11c13e0c3dc8.tar.xz linux-9a054fbac8f8441f48896b855a9e11c13e0c3dc8.zip |
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/modedb.c')
-rw-r--r-- | drivers/video/modedb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index 03b06aa2475f..42f5d76a8777 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c @@ -27,7 +27,7 @@ #define DPRINTK(fmt, args...) #endif -const char *global_mode_option; +const char *fb_mode_option; /* * Standard video mode definitions (taken from XFree86) @@ -510,7 +510,7 @@ int fb_find_mode(struct fb_var_screeninfo *var, default_bpp = 8; /* Did the user specify a video mode? */ - if (mode_option || (mode_option = global_mode_option)) { + if (mode_option || (mode_option = fb_mode_option)) { const char *name = mode_option; unsigned int namelen = strlen(name); int res_specified = 0, bpp_specified = 0, refresh_specified = 0; |