aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/thinkpad_acpi.h')
-rw-r--r--drivers/misc/thinkpad_acpi.h4
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 @@
76 76
77/* Debugging */ 77/* Debugging */
78#define TPACPI_DBG_ALL 0xffff 78#define TPACPI_DBG_ALL 0xffff
79#define TPACPI_DBG_ALL 0xffff
80#define TPACPI_DBG_INIT 0x0001
81#define TPACPI_DBG_EXIT 0x0002
79#define dbg_printk(a_dbg_level, format, arg...) \ 82#define dbg_printk(a_dbg_level, format, arg...) \
80 do { if (dbg_level & a_dbg_level) \ 83 do { if (dbg_level & a_dbg_level) \
81 printk(IBM_DEBUG "%s: " format, __func__ , ## arg); } while (0) 84 printk(IBM_DEBUG "%s: " format, __func__ , ## arg); } while (0)
82#ifdef CONFIG_THINKPAD_ACPI_DEBUG 85#ifdef CONFIG_THINKPAD_ACPI_DEBUG
83#define vdbg_printk(a_dbg_level, format, arg...) \ 86#define vdbg_printk(a_dbg_level, format, arg...) \
84 dbg_printk(a_dbg_level, format, ## arg) 87 dbg_printk(a_dbg_level, format, ## arg)
88static const char *str_supported(int is_supported);
85#else 89#else
86#define vdbg_printk(a_dbg_level, format, arg...) 90#define vdbg_printk(a_dbg_level, format, arg...)
87#endif 91#endif