]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/media/video/usbvision/usbvision-core.c
V4L/DVB (7503): usbvision: rename __PRETTY_FUNCTION__ occurrences
[mv-sheeva.git] / drivers / media / video / usbvision / usbvision-core.c
index e518d8a3564385b63ed02233a3d5cede03e9caa6..a9c5e5adba3afb704c300df72bbbdfe31a2928b8 100644 (file)
@@ -84,8 +84,10 @@ MODULE_PARM_DESC(adjust_Y_Offset, "adjust Y offset display [core]");
 
 
 #ifdef USBVISION_DEBUG
-       #define PDEBUG(level, fmt, args...) \
-               if (core_debug & (level)) info("[%s:%d] " fmt, __PRETTY_FUNCTION__, __LINE__ , ## args)
+       #define PDEBUG(level, fmt, args...) { \
+               if (core_debug & (level)) \
+                       info("[%s:%d] " fmt, __func__, __LINE__ , ## args); \
+       }
 #else
        #define PDEBUG(level, fmt, args...) do {} while(0)
 #endif