diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-06-10 09:16:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 11:03:57 -0300 |
commit | a28fbd04facbffe9374f25c3a19c54ce4f186361 (patch) | |
tree | 6f5830d257ac19a82f3a7790cf9e714f1eba651c /drivers/media/usb/pvrusb2/pvrusb2-hdw.h | |
parent | d66de790c77b98589b93cb327bde2cddd2a4c2cc (diff) | |
download | blackbird-op-linux-a28fbd04facbffe9374f25c3a19c54ce4f186361.tar.gz blackbird-op-linux-a28fbd04facbffe9374f25c3a19c54ce4f186361.zip |
[media] pvrusb2: use v4l2_dev instead of the deprecated parent field
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/pvrusb2/pvrusb2-hdw.h')
-rw-r--r-- | drivers/media/usb/pvrusb2/pvrusb2-hdw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-hdw.h b/drivers/media/usb/pvrusb2/pvrusb2-hdw.h index 1a135cf6ae4e..41847076f51a 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-hdw.h +++ b/drivers/media/usb/pvrusb2/pvrusb2-hdw.h @@ -22,6 +22,7 @@ #include <linux/usb.h> #include <linux/videodev2.h> +#include <media/v4l2-dev.h> #include "pvrusb2-io.h" #include "pvrusb2-ctrl.h" @@ -138,6 +139,9 @@ const char *pvr2_hdw_get_device_identifier(struct pvr2_hdw *); /* Called when hardware has been unplugged */ void pvr2_hdw_disconnect(struct pvr2_hdw *); +/* Sets v4l2_dev of a video_device struct */ +void pvr2_hdw_set_v4l2_dev(struct pvr2_hdw *, struct video_device *); + /* Get the number of defined controls */ unsigned int pvr2_hdw_get_ctrl_count(struct pvr2_hdw *); |