Skip to content

Commit

Permalink
cirrusfb: add noaccel module parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed Oct 16, 2008
1 parent dafa32c commit 55a0dd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/video/cirrusfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/****************************************************************************/
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 55a0dd8

Please sign in to comment.