diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-08 22:20:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:59 -0400 |
commit | 7e28adb2497f6b873516163e2d29210c11777613 (patch) | |
tree | 2f65ee1bcadb2915f196a277dbac83af99685481 /drivers/media/video/cpia.h | |
parent | e9815ceea9733dfb236629f5b72f2e6486f66242 (diff) |
V4L/DVB (7518): media/video/ replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cpia.h')
-rw-r--r-- | drivers/media/video/cpia.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cpia.h b/drivers/media/video/cpia.h index 78392fb6f94e..5096058bf579 100644 --- a/drivers/media/video/cpia.h +++ b/drivers/media/video/cpia.h | |||
@@ -412,11 +412,11 @@ void cpia_unregister_camera(struct cam_data *cam); | |||
412 | /* ErrorCode */ | 412 | /* ErrorCode */ |
413 | #define ERROR_FLICKER_BELOW_MIN_EXP 0x01 /*flicker exposure got below minimum exposure */ | 413 | #define ERROR_FLICKER_BELOW_MIN_EXP 0x01 /*flicker exposure got below minimum exposure */ |
414 | #define ALOG(fmt,args...) printk(fmt, ##args) | 414 | #define ALOG(fmt,args...) printk(fmt, ##args) |
415 | #define LOG(fmt,args...) ALOG(KERN_INFO __FILE__ ":%s(%d):" fmt, __FUNCTION__ , __LINE__ , ##args) | 415 | #define LOG(fmt,args...) ALOG(KERN_INFO __FILE__ ":%s(%d):" fmt, __func__ , __LINE__ , ##args) |
416 | 416 | ||
417 | #ifdef _CPIA_DEBUG_ | 417 | #ifdef _CPIA_DEBUG_ |
418 | #define ADBG(fmt,args...) printk(fmt, jiffies, ##args) | 418 | #define ADBG(fmt,args...) printk(fmt, jiffies, ##args) |
419 | #define DBG(fmt,args...) ADBG(KERN_DEBUG __FILE__" (%ld):%s(%d):" fmt, __FUNCTION__, __LINE__ , ##args) | 419 | #define DBG(fmt,args...) ADBG(KERN_DEBUG __FILE__" (%ld):%s(%d):" fmt, __func__, __LINE__ , ##args) |
420 | #else | 420 | #else |
421 | #define DBG(fmn,args...) do {} while(0) | 421 | #define DBG(fmn,args...) do {} while(0) |
422 | #endif | 422 | #endif |