aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/cirrusfb.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-10-16 01:03:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:44 -0400
commit55a0dd83eb24a89fd448006aaa9326df643861ae (patch)
tree2746e81fdda332013e08ece5e13e3568df9a49a2 /drivers/video/cirrusfb.c
parentdafa32c5a1da19edca1d5c1b74d30d5d07b9befd (diff)
cirrusfb: add noaccel module parameter
The noaccel parameter is already handled if the driver is not built as module. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/cirrusfb.c')
-rw-r--r--drivers/video/cirrusfb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 30c47f167608..245005e61e40 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -352,7 +352,7 @@ struct cirrusfb_info {
352 void (*unmap)(struct fb_info *info); 352 void (*unmap)(struct fb_info *info);
353}; 353};
354 354
355static int noaccel; 355static int noaccel __devinitdata;
356static char *mode_option __devinitdata = "640x480@60"; 356static char *mode_option __devinitdata = "640x480@60";
357 357
358/****************************************************************************/ 358/****************************************************************************/
@@ -2525,6 +2525,8 @@ module_init(cirrusfb_init);
2525 2525
2526module_param(mode_option, charp, 0); 2526module_param(mode_option, charp, 0);
2527MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); 2527MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
2528module_param(noaccel, bool, 0);
2529MODULE_PARM_DESC(noaccel, "Disable acceleration");
2528 2530
2529#ifdef MODULE 2531#ifdef MODULE
2530module_exit(cirrusfb_exit); 2532module_exit(cirrusfb_exit);