diff options
Diffstat (limited to 'drivers/video/modedb.c')
-rw-r--r-- | drivers/video/modedb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index 473562191586..d1bbef930dfa 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c | |||
@@ -590,6 +590,7 @@ done: | |||
590 | "", (margins) ? " with margins" : "", (interlace) ? | 590 | "", (margins) ? " with margins" : "", (interlace) ? |
591 | " interlaced" : ""); | 591 | " interlaced" : ""); |
592 | 592 | ||
593 | memset(&cvt_mode, 0, sizeof(cvt_mode)); | ||
593 | cvt_mode.xres = xres; | 594 | cvt_mode.xres = xres; |
594 | cvt_mode.yres = yres; | 595 | cvt_mode.yres = yres; |
595 | cvt_mode.refresh = (refresh) ? refresh : 60; | 596 | cvt_mode.refresh = (refresh) ? refresh : 60; |