forked from Minki/linux
V4L/DVB (7524): media/video/ovcamchip 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>
This commit is contained in:
parent
22cc065bad
commit
12aa67a63d
@ -24,11 +24,11 @@ extern int ovcamchip_debug;
|
||||
|
||||
#define PDEBUG(level, fmt, args...) \
|
||||
if (ovcamchip_debug >= (level)) pr_debug("[%s:%d] " fmt "\n", \
|
||||
__FUNCTION__, __LINE__ , ## args)
|
||||
__func__, __LINE__ , ## args)
|
||||
|
||||
#define DDEBUG(level, dev, fmt, args...) \
|
||||
if (ovcamchip_debug >= (level)) dev_dbg(dev, "[%s:%d] " fmt "\n", \
|
||||
__FUNCTION__, __LINE__ , ## args)
|
||||
__func__, __LINE__ , ## args)
|
||||
|
||||
/* Number of times to retry chip detection. Increase this if you are getting
|
||||
* "Failed to init camera chip" */
|
||||
|
Loading…
Reference in New Issue
Block a user