diff options
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.c')
-rw-r--r-- | drivers/gpu/drm/ast/ast_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c index 9a32d9dfdd26..fcd9c0714836 100644 --- a/drivers/gpu/drm/ast/ast_drv.c +++ b/drivers/gpu/drm/ast/ast_drv.c | |||
@@ -218,10 +218,8 @@ static struct drm_driver driver = { | |||
218 | 218 | ||
219 | static int __init ast_init(void) | 219 | static int __init ast_init(void) |
220 | { | 220 | { |
221 | #ifdef CONFIG_VGA_CONSOLE | ||
222 | if (vgacon_text_force() && ast_modeset == -1) | 221 | if (vgacon_text_force() && ast_modeset == -1) |
223 | return -EINVAL; | 222 | return -EINVAL; |
224 | #endif | ||
225 | 223 | ||
226 | if (ast_modeset == 0) | 224 | if (ast_modeset == 0) |
227 | return -EINVAL; | 225 | return -EINVAL; |