diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-21 16:08:32 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-22 05:30:33 +0200 |
commit | fe08bc4b4fd1371fad111675a564e4d2ebbf39ea (patch) | |
tree | ab2a116569ab856f1a1041925170c6b9011c981a /drivers/misc/thinkpad_acpi.h | |
parent | ACPI: thinkpad-acpi: clean up probing and move init to subdrivers (diff) | |
download | linux-fe08bc4b4fd1371fad111675a564e4d2ebbf39ea.tar.xz linux-fe08bc4b4fd1371fad111675a564e4d2ebbf39ea.zip |
ACPI: thinkpad-acpi: add subdriver debug statements
Add debug messages to the subdriver initialization and exit code.
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.h')
-rw-r--r-- | drivers/misc/thinkpad_acpi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h index 06d4c3839afd..beb1447a7f3f 100644 --- a/drivers/misc/thinkpad_acpi.h +++ b/drivers/misc/thinkpad_acpi.h @@ -76,12 +76,16 @@ /* Debugging */ #define TPACPI_DBG_ALL 0xffff +#define TPACPI_DBG_ALL 0xffff +#define TPACPI_DBG_INIT 0x0001 +#define TPACPI_DBG_EXIT 0x0002 #define dbg_printk(a_dbg_level, format, arg...) \ do { if (dbg_level & a_dbg_level) \ printk(IBM_DEBUG "%s: " format, __func__ , ## arg); } while (0) #ifdef CONFIG_THINKPAD_ACPI_DEBUG #define vdbg_printk(a_dbg_level, format, arg...) \ dbg_printk(a_dbg_level, format, ## arg) +static const char *str_supported(int is_supported); #else #define vdbg_printk(a_dbg_level, format, arg...) #endif |