diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-02 13:44:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:42:22 -0500 |
commit | a53e21257171af42c9fa6aee417f7891744d6ebf (patch) | |
tree | 18e26c1ad03d54cf081f3dbdb671a5ff4a396785 | |
parent | f6fc50494027e913ff0159e43c593cd75f35ec7a (diff) |
V4L/DVB (13539): ir-common: add __func__ for debug messages
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | include/media/ir-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 72df0467d2b9..452f6e86084d 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | extern int media_ir_debug; /* media_ir_debug level (0,1,2) */ | 30 | extern int media_ir_debug; /* media_ir_debug level (0,1,2) */ |
31 | #define IR_dprintk(level, fmt, arg...) if (media_ir_debug >= level) \ | 31 | #define IR_dprintk(level, fmt, arg...) if (media_ir_debug >= level) \ |
32 | printk(KERN_DEBUG fmt , ## arg) | 32 | printk(KERN_DEBUG "%s: " fmt , __func__, ## arg) |
33 | 33 | ||
34 | #define IR_TYPE_RC5 1 | 34 | #define IR_TYPE_RC5 1 |
35 | #define IR_TYPE_PD 2 /* Pulse distance encoded IR */ | 35 | #define IR_TYPE_PD 2 /* Pulse distance encoded IR */ |