This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / char / i8k.c
index 947a3c7..ad4a967 100644 (file)
@@ -65,20 +65,18 @@ static char product_name [48] = "?";
 static char bios_version [4]  = "?";
 static char serial_number[16] = "?";
 
+static int force = 0;
+static int restricted = 0;
+static int power_status = 0;
+
 MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)");
 MODULE_DESCRIPTION("Driver for accessing SMM BIOS on Dell laptops");
 MODULE_LICENSE("GPL");
-
-static int force;
-module_param(force, bool, 0);
+MODULE_PARM(force, "i");
+MODULE_PARM(restricted, "i");
+MODULE_PARM(power_status, "i");
 MODULE_PARM_DESC(force, "Force loading without checking for supported models");
-
-static int restricted;
-module_param(restricted, bool, 0);
 MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");
-
-static int power_status;
-module_param(power_status, bool, 0600);
 MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k");
 
 static ssize_t i8k_read(struct file *, char __user *, size_t, loff_t *);