Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12aa67a6 authored by Harvey Harrison's avatar Harvey Harrison Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7524): media/video/ovcamchip replace remaining __FUNCTION__ occurrences



__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 22cc065b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -24,11 +24,11 @@ extern int ovcamchip_debug;


#define PDEBUG(level, fmt, args...) \
#define PDEBUG(level, fmt, args...) \
	if (ovcamchip_debug >= (level))	pr_debug("[%s:%d] " fmt "\n", \
	if (ovcamchip_debug >= (level))	pr_debug("[%s:%d] " fmt "\n", \
		__FUNCTION__, __LINE__ , ## args)
		__func__, __LINE__ , ## args)


#define DDEBUG(level, dev, fmt, args...) \
#define DDEBUG(level, dev, fmt, args...) \
	if (ovcamchip_debug >= (level))	dev_dbg(dev, "[%s:%d] " fmt "\n", \
	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
/* Number of times to retry chip detection. Increase this if you are getting
 * "Failed to init camera chip" */
 * "Failed to init camera chip" */