aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-16 20:45:09 +1000
committerDave Airlie <airlied@linux.ie>2009-09-25 13:08:19 +1000
commitf80330357284c908e1f67cc8b4d8e56a3e2f6fc6 (patch)
treea45858e9ed67dce0dc78ccb585babe4b69783b99 /drivers/video
parent513bcb4655e68706594e45dfa1d4b181500110ba (diff)
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 <airlied@redhat.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index a85c818be94..750c71f141f 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;
}