Skip to contentSkip to conversation

fb: change rules for global rules match.

PATCH New Dave Airlie 1 participant 1 message Sep 25, 2009 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fb: change rules for global rules match.

From: Dave Airlie <[email protected]>

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.

---
 drivers/video/fbmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/fbmem.c +1 -1
index a85c818..750c71f 100644
@@ -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;
  	}
Signature · 9 lines
1.6.4.2


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf