diff options
author | Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com> | 2015-06-09 03:20:46 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 15:18:39 +0100 |
commit | bed6919665072b1e5bad31a013d53798394e097c (patch) | |
tree | baed884274ac819b315d5ffe7042a57ada05bfbd /drivers/media/usb/au0828/au0828.h | |
parent | [media] media: define Media Controller API when CONFIG_MEDIA_CONTROLLER enabled (diff) | |
download | linux-bed6919665072b1e5bad31a013d53798394e097c.tar.xz linux-bed6919665072b1e5bad31a013d53798394e097c.zip |
[media] au0828: Add support for media controller
Add support for analog and dvb tv using media controller.
Signed-off-by: Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828.h')
-rw-r--r-- | drivers/media/usb/au0828/au0828.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828.h b/drivers/media/usb/au0828/au0828.h index 60b59391ea2a..7d175d8b8a7a 100644 --- a/drivers/media/usb/au0828/au0828.h +++ b/drivers/media/usb/au0828/au0828.h @@ -33,6 +33,7 @@ #include <media/v4l2-device.h> #include <media/v4l2-ctrls.h> #include <media/v4l2-fh.h> +#include <media/media-device.h> /* DVB */ #include "demux.h" @@ -276,6 +277,11 @@ struct au0828_dev { /* Preallocated transfer digital transfer buffers */ char *dig_transfer_buffer[URB_COUNT]; + +#ifdef CONFIG_MEDIA_CONTROLLER + struct media_device *media_dev; + struct media_pad video_pad, vbi_pad; +#endif }; |