19 lines
992 B
Diff
19 lines
992 B
Diff
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" );
|