diff options
Diffstat (limited to 'drivers/media/video/w9966.c')
-rw-r--r-- | drivers/media/video/w9966.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/w9966.c b/drivers/media/video/w9966.c index 33f702698a56..9402f40095b4 100644 --- a/drivers/media/video/w9966.c +++ b/drivers/media/video/w9966.c | |||
@@ -57,8 +57,9 @@ | |||
57 | #include <linux/module.h> | 57 | #include <linux/module.h> |
58 | #include <linux/init.h> | 58 | #include <linux/init.h> |
59 | #include <linux/delay.h> | 59 | #include <linux/delay.h> |
60 | #include <linux/videodev.h> | 60 | #include <linux/videodev2.h> |
61 | #include <media/v4l2-common.h> | 61 | #include <media/v4l2-common.h> |
62 | #include <media/v4l2-ioctl.h> | ||
62 | #include <linux/parport.h> | 63 | #include <linux/parport.h> |
63 | 64 | ||
64 | /*#define DEBUG*/ /* Undef me for production */ | 65 | /*#define DEBUG*/ /* Undef me for production */ |
@@ -195,9 +196,7 @@ static const struct file_operations w9966_fops = { | |||
195 | .llseek = no_llseek, | 196 | .llseek = no_llseek, |
196 | }; | 197 | }; |
197 | static struct video_device w9966_template = { | 198 | static struct video_device w9966_template = { |
198 | .owner = THIS_MODULE, | ||
199 | .name = W9966_DRIVERNAME, | 199 | .name = W9966_DRIVERNAME, |
200 | .type = VID_TYPE_CAPTURE | VID_TYPE_SCALES, | ||
201 | .fops = &w9966_fops, | 200 | .fops = &w9966_fops, |
202 | }; | 201 | }; |
203 | 202 | ||