V4L/DVB (13539): ir-common: add __func__ for debug messages

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f6fc5049
无相关合并请求
......@@ -29,7 +29,7 @@
extern int media_ir_debug; /* media_ir_debug level (0,1,2) */
#define IR_dprintk(level, fmt, arg...) if (media_ir_debug >= level) \
printk(KERN_DEBUG fmt , ## arg)
printk(KERN_DEBUG "%s: " fmt , __func__, ## arg)
#define IR_TYPE_RC5 1
#define IR_TYPE_PD 2 /* Pulse distance encoded IR */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部