Skip to content

Commit

Permalink
V4L/DVB (13539): ir-common: add __func__ for debug messages
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 5, 2009
1 parent f6fc504 commit a53e212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/media/ir-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a53e212

Please sign in to comment.