diff options
Diffstat (limited to 'drivers/media/video/cpia2/cpia2_v4l.c')
-rw-r--r-- | drivers/media/video/cpia2/cpia2_v4l.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/cpia2/cpia2_v4l.c b/drivers/media/video/cpia2/cpia2_v4l.c index 7ce2789fa976..515c8b57a60d 100644 --- a/drivers/media/video/cpia2/cpia2_v4l.c +++ b/drivers/media/video/cpia2/cpia2_v4l.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | #include <linux/init.h> | 39 | #include <linux/init.h> |
40 | #include <media/v4l2-ioctl.h> | ||
40 | 41 | ||
41 | #include "cpia2.h" | 42 | #include "cpia2.h" |
42 | #include "cpia2dev.h" | 43 | #include "cpia2dev.h" |
@@ -1935,11 +1936,7 @@ static const struct file_operations fops_template = { | |||
1935 | 1936 | ||
1936 | static struct video_device cpia2_template = { | 1937 | static struct video_device cpia2_template = { |
1937 | /* I could not find any place for the old .initialize initializer?? */ | 1938 | /* I could not find any place for the old .initialize initializer?? */ |
1938 | .owner= THIS_MODULE, | ||
1939 | .name= "CPiA2 Camera", | 1939 | .name= "CPiA2 Camera", |
1940 | .type= VID_TYPE_CAPTURE, | ||
1941 | .type2 = V4L2_CAP_VIDEO_CAPTURE | | ||
1942 | V4L2_CAP_STREAMING, | ||
1943 | .minor= -1, | 1940 | .minor= -1, |
1944 | .fops= &fops_template, | 1941 | .fops= &fops_template, |
1945 | .release= video_device_release, | 1942 | .release= video_device_release, |