summaryrefslogtreecommitdiff
blob: e573b59f4cce5f970f004ff6b7eae228f29de9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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" );