diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-21 10:08:30 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-21 23:30:33 -0400 |
commit | 132ce09123755ec5e3d3a8ae22f4f753c3baac97 (patch) | |
tree | d5ed5b7216cf0743efe6659da74877fffbda866d /drivers/misc/thinkpad_acpi.c | |
parent | f51d1a39840ae5e8678d702ab57377c611fc3826 (diff) |
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.c | 3 |
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) | |||
2684 | static int experimental; | 2684 | static int experimental; |
2685 | module_param(experimental, int, 0); | 2685 | module_param(experimental, int, 0); |
2686 | 2686 | ||
2687 | static u32 dbg_level; | ||
2688 | module_param_named(debug, dbg_level, uint, 0); | ||
2689 | |||
2687 | #define IBM_PARAM(feature) \ | 2690 | #define IBM_PARAM(feature) \ |
2688 | module_param_call(feature, set_ibm_param, NULL, NULL, 0) | 2691 | module_param_call(feature, set_ibm_param, NULL, NULL, 0) |
2689 | 2692 | ||