From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Airlie Subject: [PATCH 1/2] fb: change rules for global rules match. Date: Fri, 25 Sep 2009 12:58:32 +1000 Message-ID: <1253847512-22994-1-git-send-email-airlied@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Mr11C-0004xC-OO for linux-fbdev-devel@lists.sourceforge.net; Fri, 25 Sep 2009 02:58:46 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by 1b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Mr116-0008Fg-Bh for linux-fbdev-devel@lists.sourceforge.net; Fri, 25 Sep 2009 02:58:46 +0000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sf.net From: Dave Airlie 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 --- 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