aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvideo/vicam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvideo/vicam.c')
-rw-r--r--drivers/media/video/usbvideo/vicam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/usbvideo/vicam.c b/drivers/media/video/usbvideo/vicam.c
index da1ba0211108..64819353276a 100644
--- a/drivers/media/video/usbvideo/vicam.c
+++ b/drivers/media/video/usbvideo/vicam.c
@@ -48,7 +48,7 @@
48// #define VICAM_DEBUG 48// #define VICAM_DEBUG
49 49
50#ifdef VICAM_DEBUG 50#ifdef VICAM_DEBUG
51#define ADBG(lineno,fmt,args...) printk(fmt, jiffies, __FUNCTION__, lineno, ##args) 51#define ADBG(lineno,fmt,args...) printk(fmt, jiffies, __func__, lineno, ##args)
52#define DBG(fmt,args...) ADBG((__LINE__),KERN_DEBUG __FILE__"(%ld):%s (%d):"fmt,##args) 52#define DBG(fmt,args...) ADBG((__LINE__),KERN_DEBUG __FILE__"(%ld):%s (%d):"fmt,##args)
53#else 53#else
54#define DBG(fmn,args...) do {} while(0) 54#define DBG(fmn,args...) do {} while(0)
@@ -1066,7 +1066,9 @@ static const struct file_operations vicam_fops = {
1066 .read = vicam_read, 1066 .read = vicam_read,
1067 .mmap = vicam_mmap, 1067 .mmap = vicam_mmap,
1068 .ioctl = vicam_ioctl, 1068 .ioctl = vicam_ioctl,
1069#ifdef CONFIG_COMPAT
1069 .compat_ioctl = v4l_compat_ioctl32, 1070 .compat_ioctl = v4l_compat_ioctl32,
1071#endif
1070 .llseek = no_llseek, 1072 .llseek = no_llseek,
1071}; 1073};
1072 1074