diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-04-04 00:25:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-04 03:14:52 -0400 |
commit | 7ff8d62f7f055aaffbeb493863136c1b876bbe2e (patch) | |
tree | 06792ec83d7897383474d3687b26ae40fcc5cedf | |
parent | 3dcc2c3b00cad01a0e3667607f8644e891e4dc8b (diff) |
thinkpad-acpi: add missing log levels
Add missing log levels in a standalone commit, to avoid dependencies in
future unrelated changes, just because they wanted to use one of the
missing log levels.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 3367df9d4f9..6331b88d77d 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -172,15 +172,18 @@ enum { | |||
172 | TPACPI_RFK_UWB_SW_ID, | 172 | TPACPI_RFK_UWB_SW_ID, |
173 | }; | 173 | }; |
174 | 174 | ||
175 | /* Debugging */ | 175 | /* printk headers */ |
176 | #define TPACPI_LOG TPACPI_FILE ": " | 176 | #define TPACPI_LOG TPACPI_FILE ": " |
177 | #define TPACPI_ALERT KERN_ALERT TPACPI_LOG | 177 | #define TPACPI_EMERG KERN_EMERG TPACPI_LOG |
178 | #define TPACPI_CRIT KERN_CRIT TPACPI_LOG | 178 | #define TPACPI_ALERT KERN_ALERT TPACPI_LOG |
179 | #define TPACPI_ERR KERN_ERR TPACPI_LOG | 179 | #define TPACPI_CRIT KERN_CRIT TPACPI_LOG |
180 | #define TPACPI_NOTICE KERN_NOTICE TPACPI_LOG | 180 | #define TPACPI_ERR KERN_ERR TPACPI_LOG |
181 | #define TPACPI_INFO KERN_INFO TPACPI_LOG | 181 | #define TPACPI_WARN KERN_WARNING TPACPI_LOG |
182 | #define TPACPI_DEBUG KERN_DEBUG TPACPI_LOG | 182 | #define TPACPI_NOTICE KERN_NOTICE TPACPI_LOG |
183 | 183 | #define TPACPI_INFO KERN_INFO TPACPI_LOG | |
184 | #define TPACPI_DEBUG KERN_DEBUG TPACPI_LOG | ||
185 | |||
186 | /* Debugging printk groups */ | ||
184 | #define TPACPI_DBG_ALL 0xffff | 187 | #define TPACPI_DBG_ALL 0xffff |
185 | #define TPACPI_DBG_INIT 0x0001 | 188 | #define TPACPI_DBG_INIT 0x0001 |
186 | #define TPACPI_DBG_EXIT 0x0002 | 189 | #define TPACPI_DBG_EXIT 0x0002 |