From: Dave Airlie Date: Wed, 16 Sep 2009 10:45:09 +0000 (+1000) Subject: fb: change rules for global rules match. X-Git-Tag: v2.6.32-rc3~64^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f80330357284c908e1f67cc8b4d8e56a3e2f6fc6;p=platform%2Fkernel%2Flinux-stable.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 a85c818..750c71f 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; }