提交 7ff8d62f 编写于 作者: H Henrique de Moraes Holschuh 提交者: Len Brown

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: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 3dcc2c3b
...@@ -172,15 +172,18 @@ enum { ...@@ -172,15 +172,18 @@ enum {
TPACPI_RFK_UWB_SW_ID, TPACPI_RFK_UWB_SW_ID,
}; };
/* Debugging */ /* printk headers */
#define TPACPI_LOG TPACPI_FILE ": " #define TPACPI_LOG TPACPI_FILE ": "
#define TPACPI_ALERT KERN_ALERT TPACPI_LOG #define TPACPI_EMERG KERN_EMERG TPACPI_LOG
#define TPACPI_CRIT KERN_CRIT TPACPI_LOG #define TPACPI_ALERT KERN_ALERT TPACPI_LOG
#define TPACPI_ERR KERN_ERR TPACPI_LOG #define TPACPI_CRIT KERN_CRIT TPACPI_LOG
#define TPACPI_NOTICE KERN_NOTICE TPACPI_LOG #define TPACPI_ERR KERN_ERR TPACPI_LOG
#define TPACPI_INFO KERN_INFO TPACPI_LOG #define TPACPI_WARN KERN_WARNING TPACPI_LOG
#define TPACPI_DEBUG KERN_DEBUG TPACPI_LOG #define TPACPI_NOTICE KERN_NOTICE TPACPI_LOG
#define TPACPI_INFO KERN_INFO TPACPI_LOG
#define TPACPI_DEBUG KERN_DEBUG TPACPI_LOG
/* Debugging printk groups */
#define TPACPI_DBG_ALL 0xffff #define TPACPI_DBG_ALL 0xffff
#define TPACPI_DBG_INIT 0x0001 #define TPACPI_DBG_INIT 0x0001
#define TPACPI_DBG_EXIT 0x0002 #define TPACPI_DBG_EXIT 0x0002
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册