|
@@ -69,19 +69,19 @@ MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)");
|
|
MODULE_DESCRIPTION("Driver for accessing SMM BIOS on Dell laptops");
|
|
MODULE_DESCRIPTION("Driver for accessing SMM BIOS on Dell laptops");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
-static int force;
|
|
|
|
|
|
+static bool force;
|
|
module_param(force, bool, 0);
|
|
module_param(force, bool, 0);
|
|
MODULE_PARM_DESC(force, "Force loading without checking for supported models");
|
|
MODULE_PARM_DESC(force, "Force loading without checking for supported models");
|
|
|
|
|
|
-static int ignore_dmi;
|
|
|
|
|
|
+static bool ignore_dmi;
|
|
module_param(ignore_dmi, bool, 0);
|
|
module_param(ignore_dmi, bool, 0);
|
|
MODULE_PARM_DESC(ignore_dmi, "Continue probing hardware even if DMI data does not match");
|
|
MODULE_PARM_DESC(ignore_dmi, "Continue probing hardware even if DMI data does not match");
|
|
|
|
|
|
-static int restricted;
|
|
|
|
|
|
+static bool restricted;
|
|
module_param(restricted, bool, 0);
|
|
module_param(restricted, bool, 0);
|
|
MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");
|
|
MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");
|
|
|
|
|
|
-static int power_status;
|
|
|
|
|
|
+static bool power_status;
|
|
module_param(power_status, bool, 0600);
|
|
module_param(power_status, bool, 0600);
|
|
MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k");
|
|
MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k");
|
|
|
|
|