diff options
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/vgacon.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 448d209a0bf2..e6210725b9ab 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c | |||
@@ -112,6 +112,23 @@ static int vga_video_font_height; | |||
112 | static int vga_scan_lines __read_mostly; | 112 | static int vga_scan_lines __read_mostly; |
113 | static unsigned int vga_rolled_over; | 113 | static unsigned int vga_rolled_over; |
114 | 114 | ||
115 | int vgacon_text_mode_force = 0; | ||
116 | |||
117 | bool vgacon_text_force(void) | ||
118 | { | ||
119 | return vgacon_text_mode_force ? true : false; | ||
120 | } | ||
121 | EXPORT_SYMBOL(vgacon_text_force); | ||
122 | |||
123 | static int __init text_mode(char *str) | ||
124 | { | ||
125 | vgacon_text_mode_force = 1; | ||
126 | return 1; | ||
127 | } | ||
128 | |||
129 | /* force text mode - used by kernel modesetting */ | ||
130 | __setup("nomodeset", text_mode); | ||
131 | |||
115 | static int __init no_scroll(char *str) | 132 | static int __init no_scroll(char *str) |
116 | { | 133 | { |
117 | /* | 134 | /* |