Skip to content

Commit

Permalink
V4L/DVB (7524): media/video/ovcamchip replace remaining __FUNCTION__ …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Harvey Harrison authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 22cc065 commit 12aa67a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/ovcamchip/ovcamchip_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" */
Expand Down

0 comments on commit 12aa67a

Please sign in to comment.