* fix module_param in rivafb
@ 2004-11-20 0:46 Guido Guenther
0 siblings, 0 replies; only message in thread
From: Guido Guenther @ 2004-11-20 0:46 UTC (permalink / raw)
To: Antonino A. Daplas; +Cc: linux-fbdev-devel
Hi Tony,
third argument in module_param is the sysfs permission not a default
value. This fixes things for rivafb in 2.6.10-rc2:
Signed-Off-By: Guido Guenther <agx@sigxcpu.org>
--- linux-2.6.10-rc2.orig/drivers/video/riva/fbdev.c 2004-11-17 17:33:53.000000000 +0100
+++ linux-2.6.10-rc2/drivers/video/riva/fbdev.c 2004-11-20 01:38:47.017282552 +0100
@@ -2183,9 +2195,9 @@
module_param(noaccel, bool, 0);
MODULE_PARM_DESC(noaccel, "bool: disable acceleration");
-module_param(flatpanel, int, -1);
+module_param(flatpanel, int, 0);
MODULE_PARM_DESC(flatpanel, "Enables experimental flat panel support for some chipsets. (0 or 1=enabled) (default=0)");
-module_param(forceCRTC, int, -1);
+module_param(forceCRTC, int, 0);
MODULE_PARM_DESC(forceCRTC, "Forces usage of a particular CRTC in case autodetection fails. (0 or 1) (default=autodetect)");
#ifdef CONFIG_MTRR
module_param(nomtrr, bool, 0);
Cheers,
-- Guido
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-20 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-20 0:46 fix module_param in rivafb Guido Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).