From: Dave Airlie Date: Wed, 16 Sep 2009 10:45:09 +0000 (+1000) Subject: fb: change rules for global rules match. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f80330357284c908e1f67cc8b4d8e56a3e2f6fc6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git fb: change rules for global rules match. Having a : should be enough 'fb:' isn't really useful if the fb wants to a kms output ID. Signed-off-by: Dave Airlie --- diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index a85c818be945..750c71f141f4 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -1789,7 +1789,7 @@ static int __init video_setup(char *options) global = 1; } - if (!global && !strstr(options, "fb:")) { + if (!global && !strchr(options, ':')) { fb_mode_option = options; global = 1; }