summaryrefslogtreecommitdiff
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-16 14:45:09 +0400
committerDave Airlie <airlied@linux.ie>2009-09-25 07:08:19 +0400
commitf80330357284c908e1f67cc8b4d8e56a3e2f6fc6 (patch)
treea45858e9ed67dce0dc78ccb585babe4b69783b99 /drivers/video/fbmem.c
parent513bcb4655e68706594e45dfa1d4b181500110ba (diff)
downloadlinux-f80330357284c908e1f67cc8b4d8e56a3e2f6fc6.tar.xz
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/fbmem.c')
-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 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;
}