From: Dave A. <ai...@gm...> - 2009-09-25 02:58:46
|
From: Dave Airlie <ai...@li...> Having a : should be enough 'fb:' isn't really useful if the fb wants to a kms output ID. Changed to use strchr as per feedback from Geert. Signed-off-by: Dave Airlie <ai...@re...> --- drivers/video/fbmem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.6.4.2 |