diff options
Diffstat (limited to 'drivers/video/i810')
-rw-r--r-- | drivers/video/i810/i810_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 29f89db428ce..ab1b8fe34d6d 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c | |||
@@ -1049,7 +1049,7 @@ static int i810_check_params(struct fb_var_screeninfo *var, | |||
1049 | mode_valid = 1; | 1049 | mode_valid = 1; |
1050 | 1050 | ||
1051 | if (!mode_valid && info->monspecs.modedb_len) { | 1051 | if (!mode_valid && info->monspecs.modedb_len) { |
1052 | struct fb_videomode *mode; | 1052 | const struct fb_videomode *mode; |
1053 | 1053 | ||
1054 | mode = fb_find_best_mode(var, &info->modelist); | 1054 | mode = fb_find_best_mode(var, &info->modelist); |
1055 | if (mode) { | 1055 | if (mode) { |
@@ -1924,7 +1924,7 @@ static void __devinit i810fb_find_init_mode(struct fb_info *info) | |||
1924 | fb_videomode_to_modelist(specs->modedb, specs->modedb_len, | 1924 | fb_videomode_to_modelist(specs->modedb, specs->modedb_len, |
1925 | &info->modelist); | 1925 | &info->modelist); |
1926 | if (specs->modedb != NULL) { | 1926 | if (specs->modedb != NULL) { |
1927 | struct fb_videomode *m; | 1927 | const struct fb_videomode *m; |
1928 | 1928 | ||
1929 | if (xres && yres) { | 1929 | if (xres && yres) { |
1930 | if ((m = fb_find_best_mode(&var, &info->modelist))) { | 1930 | if ((m = fb_find_best_mode(&var, &info->modelist))) { |