diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index 13f378c4439e..d97261ab430f 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c | |||
@@ -97,10 +97,10 @@ USBVISION_DRIVER_VERSION_PATCHLEVEL) | |||
97 | 97 | ||
98 | 98 | ||
99 | #ifdef USBVISION_DEBUG | 99 | #ifdef USBVISION_DEBUG |
100 | #define PDEBUG(level, fmt, args...) \ | 100 | #define PDEBUG(level, fmt, args...) { \ |
101 | if (video_debug & (level)) \ | 101 | if (video_debug & (level)) \ |
102 | info("[%s:%d] " fmt, __PRETTY_FUNCTION__, __LINE__ ,\ | 102 | info("[%s:%d] " fmt, __func__, __LINE__ , ## args); \ |
103 | ## args) | 103 | } |
104 | #else | 104 | #else |
105 | #define PDEBUG(level, fmt, args...) do {} while(0) | 105 | #define PDEBUG(level, fmt, args...) do {} while(0) |
106 | #endif | 106 | #endif |