From: Dave Airlie <airlied@gmail.com>
To: linux-fbdev-devel@lists.sf.net
Subject: [PATCH 1/2] fb: change rules for global rules match.
Date: Fri, 25 Sep 2009 12:58:32 +1000 [thread overview]
Message-ID: <1253847512-22994-1-git-send-email-airlied@gmail.com> (raw)
From: Dave Airlie <airlied@linux.ie>
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 <airlied@redhat.com>
---
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
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
next reply other threads:[~2009-09-25 2:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-25 2:58 Dave Airlie [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-23 4:42 [PATCH 1/2] fb: change rules for global rules match Dave Airlie
2009-09-23 6:50 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1253847512-22994-1-git-send-email-airlied@gmail.com \
--to=airlied@gmail.com \
--cc=linux-fbdev-devel@lists.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).