]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB (7524): media/video/ovcamchip replace remaining __FUNCTION__ occurrences
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 9 Apr 2008 02:20:00 +0000 (23:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:59 +0000 (14:07 -0300)
__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>
drivers/media/video/ovcamchip/ovcamchip_priv.h

index 50c7763d44b3cad08799299a9f46c2f3839be43c..9afa4fe47726011f4e78edb87fd97095d3410c35 100644 (file)
@@ -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" */