aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/modedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/modedb.c')
-rw-r--r--drivers/video/modedb.c4
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 @@
27#define DPRINTK(fmt, args...) 27#define DPRINTK(fmt, args...)
28#endif 28#endif
29 29
30const char *global_mode_option; 30const char *fb_mode_option;
31 31
32 /* 32 /*
33 * Standard video mode definitions (taken from XFree86) 33 * Standard video mode definitions (taken from XFree86)
@@ -510,7 +510,7 @@ int fb_find_mode(struct fb_var_screeninfo *var,
510 default_bpp = 8; 510 default_bpp = 8;
511 511
512 /* Did the user specify a video mode? */ 512 /* Did the user specify a video mode? */
513 if (mode_option || (mode_option = global_mode_option)) { 513 if (mode_option || (mode_option = fb_mode_option)) {
514 const char *name = mode_option; 514 const char *name = mode_option;
515 unsigned int namelen = strlen(name); 515 unsigned int namelen = strlen(name);
516 int res_specified = 0, bpp_specified = 0, refresh_specified = 0; 516 int res_specified = 0, bpp_specified = 0, refresh_specified = 0;