summaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-21 16:08:30 +0200
committerLen Brown <len.brown@intel.com>2007-04-22 05:30:33 +0200
commit132ce09123755ec5e3d3a8ae22f4f753c3baac97 (patch)
treed5ed5b7216cf0743efe6659da74877fffbda866d /drivers/misc/thinkpad_acpi.c
parentACPI: thinkpad-acpi: update fan firmware documentation (diff)
downloadlinux-132ce09123755ec5e3d3a8ae22f4f753c3baac97.tar.xz
linux-132ce09123755ec5e3d3a8ae22f4f753c3baac97.zip
ACPI: thinkpad-acpi: add debug mode
Add a debug mode parameter and verbose debug mode Kconfig option. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r--drivers/misc/thinkpad_acpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 4131a7875ad7..7fa906fd45c0 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -2684,6 +2684,9 @@ static int __init set_ibm_param(const char *val, struct kernel_param *kp)
static int experimental;
module_param(experimental, int, 0);
+static u32 dbg_level;
+module_param_named(debug, dbg_level, uint, 0);
+
#define IBM_PARAM(feature) \
module_param_call(feature, set_ibm_param, NULL, NULL, 0)