diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc.h')
-rw-r--r-- | drivers/media/usb/pwc/pwc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/usb/pwc/pwc.h b/drivers/media/usb/pwc/pwc.h index 81b017a554bc..3c73bdaae450 100644 --- a/drivers/media/usb/pwc/pwc.h +++ b/drivers/media/usb/pwc/pwc.h | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <media/v4l2-ctrls.h> | 40 | #include <media/v4l2-ctrls.h> |
41 | #include <media/v4l2-fh.h> | 41 | #include <media/v4l2-fh.h> |
42 | #include <media/v4l2-event.h> | 42 | #include <media/v4l2-event.h> |
43 | #include <media/videobuf2-v4l2.h> | ||
43 | #include <media/videobuf2-vmalloc.h> | 44 | #include <media/videobuf2-vmalloc.h> |
44 | #ifdef CONFIG_USB_PWC_INPUT_EVDEV | 45 | #ifdef CONFIG_USB_PWC_INPUT_EVDEV |
45 | #include <linux/input.h> | 46 | #include <linux/input.h> |
@@ -210,7 +211,8 @@ struct pwc_raw_frame { | |||
210 | /* intermediate buffers with raw data from the USB cam */ | 211 | /* intermediate buffers with raw data from the USB cam */ |
211 | struct pwc_frame_buf | 212 | struct pwc_frame_buf |
212 | { | 213 | { |
213 | struct vb2_buffer vb; /* common v4l buffer stuff -- must be first */ | 214 | /* common v4l buffer stuff -- must be first */ |
215 | struct vb2_v4l2_buffer vb; | ||
214 | struct list_head list; | 216 | struct list_head list; |
215 | void *data; | 217 | void *data; |
216 | int filled; /* number of bytes filled */ | 218 | int filled; /* number of bytes filled */ |