matroxfb driver broken on non-x86.

From: Dave Jones
Date: Wed Jan 12 2005 - 17:32:45 EST


This broke since the recent MODULE_PARAM conversion on
architectures that don't have CONFIG_MTRR

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

--- linux-2.6.10/drivers/video/matrox/matroxfb_base.c~ 2005-01-12 16:46:23.000000000 -0500
+++ linux-2.6.10/drivers/video/matrox/matroxfb_base.c 2005-01-12 16:48:54.000000000 -0500
@@ -2477,8 +2477,10 @@ module_param(noinit, int, 0);
MODULE_PARM_DESC(noinit, "Disables W/SG/SD-RAM and bus interface initialization (0 or 1=do not initialize) (default=0)");
module_param(memtype, int, 0);
MODULE_PARM_DESC(memtype, "Memory type for G200/G400 (see Documentation/fb/matroxfb.txt for explanation) (default=3 for G200, 0 for G400)");
+#ifdef CONFIG_MTRR
module_param(mtrr, int, 0);
MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");
+#endif
module_param(sgram, int, 0);
MODULE_PARM_DESC(sgram, "Indicates that G100/G200/G400 has SGRAM memory (0=SDRAM, 1=SGRAM) (default=0)");
module_param(inv24, int, 0);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/