From: Krzysztof Helt Date: Thu, 16 Oct 2008 05:03:41 +0000 (-0700) Subject: cirrusfb: add noaccel module parameter X-Git-Tag: v2.6.28-rc1~390 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=55a0dd83eb24a89fd448006aaa9326df643861ae;p=linux-2.6-omap-h63xx.git cirrusfb: add noaccel module parameter The noaccel parameter is already handled if the driver is not built as module. Signed-off-by: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 30c47f16760..245005e61e4 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -352,7 +352,7 @@ struct cirrusfb_info { void (*unmap)(struct fb_info *info); }; -static int noaccel; +static int noaccel __devinitdata; static char *mode_option __devinitdata = "640x480@60"; /****************************************************************************/ @@ -2525,6 +2525,8 @@ module_init(cirrusfb_init); module_param(mode_option, charp, 0); MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); +module_param(noaccel, bool, 0); +MODULE_PARM_DESC(noaccel, "Disable acceleration"); #ifdef MODULE module_exit(cirrusfb_exit);