summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2017-09-04 17:00:49 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-09-04 17:00:49 +0300
commit176780c7d2fab4ac7b46f217e20db0ce533f27f4 (patch)
tree125cdaae6202b52f8a070013a5452602f0345476 /drivers/video
parentbf4392bac1f559397285b3c285b85dd0330f3d43 (diff)
downloadlinux-176780c7d2fab4ac7b46f217e20db0ce533f27f4.tar.xz
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 <david@lechnology.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> [b.zolnierkie: ported over fbcon changes] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/core/fbcon.c2
1 files changed, 0 insertions, 2 deletions
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;
}
}