提交 55a0dd83 编写于 作者: K Krzysztof Helt 提交者: Linus Torvalds

cirrusfb: add noaccel module parameter

The noaccel parameter is already handled if the driver is not built as
module.
Signed-off-by: NKrzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 dafa32c5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册