diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:48:02 -0400 |
commit | 86cc9445e86bef9da44f933e3849e6eb43cbf626 (patch) | |
tree | 78caf89dbb540ea7c8046a7854462890462417bc /drivers | |
parent | 996fba08db7faf46b1a674957f60cd772ecd29ec (diff) |
ACPI: thinkpad_acpi: use bool for boolean parameters
Some of the module parameters are boolean in nature. Make it so in fact.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 78e41102a95c..44aa8c92f91f 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -4444,10 +4444,10 @@ static u32 dbg_level; | |||
4444 | module_param_named(debug, dbg_level, uint, 0); | 4444 | module_param_named(debug, dbg_level, uint, 0); |
4445 | 4445 | ||
4446 | static int force_load; | 4446 | static int force_load; |
4447 | module_param(force_load, int, 0); | 4447 | module_param(force_load, bool, 0); |
4448 | 4448 | ||
4449 | static int fan_control_allowed; | 4449 | static int fan_control_allowed; |
4450 | module_param_named(fan_control, fan_control_allowed, int, 0); | 4450 | module_param_named(fan_control, fan_control_allowed, bool, 0); |
4451 | 4451 | ||
4452 | #define IBM_PARAM(feature) \ | 4452 | #define IBM_PARAM(feature) \ |
4453 | module_param_call(feature, set_ibm_param, NULL, NULL, 0) | 4453 | module_param_call(feature, set_ibm_param, NULL, NULL, 0) |