]> git.hungrycats.org Git - linux/commitdiff
[PATCH] matrox_fb trivial compile fix for pmac
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Wed, 2 Feb 2005 05:16:58 +0000 (21:16 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 2 Feb 2005 05:16:58 +0000 (21:16 -0800)
module_param() used when module_param_named() should've been.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/matrox/matroxfb_base.c

index 41cd7f9ba26b501c4053d2152aee01ce092e2033..cc37117f4c052755ce831b177bbb486d4accdc8c 100644 (file)
@@ -2536,9 +2536,9 @@ MODULE_PARM_DESC(dfp_type, "Specifies DFP interface type (0 to 255) (default=rea
 module_param_string(outputs, outputs, sizeof(outputs), 0);
 MODULE_PARM_DESC(outputs, "Specifies which CRTC is mapped to which output (string of up to three letters, consisting of 0 (disabled), 1 (CRTC1), 2 (CRTC2)) (default=111 for Gx50, 101 for G200/G400 with DFP, and 100 for all other devices)");
 #ifdef CONFIG_PPC_PMAC
-module_param(vmode, int, 0);
+module_param_named(vmode, default_vmode, int, 0);
 MODULE_PARM_DESC(vmode, "Specify the vmode mode number that should be used (640x480 default)");
-module_param(cmode, int, 0);
+module_param_named(cmode, default_cmode, int, 0);
 MODULE_PARM_DESC(cmode, "Specify the video depth that should be used (8bit default)");
 #endif