fb: change rules for global rules match.
authorDave Airlie <airlied@linux.ie>
Wed, 16 Sep 2009 10:45:09 +0000 (20:45 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 03:08:19 +0000 (13:08 +1000)
Having a : should be enough 'fb:' isn't really useful
if the fb wants to a kms output ID.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/video/fbmem.c

index a85c818be9453ecbdf11310b8a77f41435652000..750c71f141f4d4298c59926c4b4330689f9dfb64 100644 (file)
@@ -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;
        }