diff options
Diffstat (limited to 'app-laptop/thinkpad/files/thinkpad-5.9-module-param.patch')
-rw-r--r-- | app-laptop/thinkpad/files/thinkpad-5.9-module-param.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-laptop/thinkpad/files/thinkpad-5.9-module-param.patch b/app-laptop/thinkpad/files/thinkpad-5.9-module-param.patch new file mode 100644 index 000000000000..e573b59f4cce --- /dev/null +++ b/app-laptop/thinkpad/files/thinkpad-5.9-module-param.patch @@ -0,0 +1,18 @@ +diff -purN thinkpad-5.9-orig/2.6/drivers/thinkpad.c thinkpad-5.9/2.6/drivers/thinkpad.c +--- thinkpad-5.9-orig/2.6/drivers/thinkpad.c 2006-07-15 12:27:38.000000000 +0200 ++++ thinkpad-5.9/2.6/drivers/thinkpad.c 2006-07-15 12:42:55.000000000 +0200 +@@ -91,11 +91,11 @@ static int enable_smapi = 1; + static int enable_superio = 1; + static int enable_rtcmosram = 1; + #ifdef MODULE +-MODULE_PARM( enable_smapi, "i" ); ++module_param( enable_smapi, int, S_IRUGO ); + MODULE_PARM_DESC( enable_smapi, "Enable/disable (1/0) use of the smapi module" ); +-MODULE_PARM( enable_superio, "i" ); ++module_param( enable_superio, int, S_IRUGO ); + MODULE_PARM_DESC( enable_superio, "Enable/disable (1/0) use of the superio module" ); +-MODULE_PARM( enable_rtcmosram, "i" ); ++module_param( enable_rtcmosram, int, S_IRUGO ); + MODULE_PARM_DESC( enable_rtcmosram, "Enable/disable (1/0) use of the rtcmosram module" ); + MODULE_AUTHOR( "Thomas Hood" ); + MODULE_DESCRIPTION( "Metadriver for IBM ThinkPad hardware drivers" ); |