From 176780c7d2fab4ac7b46f217e20db0ce533f27f4 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 4 Sep 2017 16:00:49 +0200 Subject: fbcon: remove restriction on margin color This removes the restriction on the value range of the fbcon=margin: parameter. The color value really depends on the driver being used. Signed-off-by: David Lechner Cc: Geert Uytterhoeven [b.zolnierkie: ported over fbcon changes] Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/core/fbcon.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/video/fbdev') diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c index 4dd08b4af170..04612f938bab 100644 --- a/drivers/video/fbdev/core/fbcon.c +++ b/drivers/video/fbdev/core/fbcon.c @@ -498,8 +498,6 @@ static int __init fb_console_setup(char *this_opt) options += 7; if (*options) margin_color = simple_strtoul(options, &options, 0); - if (margin_color > 7) - margin_color = 0; continue; } } -- cgit v1.2.3