diff options
author | Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com> | 2015-02-13 18:29:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 09:52:26 -0300 |
commit | 496ccf92b9b5342b995a711829de76c320a916b6 (patch) | |
tree | 36ccaadc4fe701b1a96db88569c2da59c92a236b /drivers/media/usb/dvb-usb/dvb-usb.h | |
parent | 823b460ee76d0e4e1a9d50e7c1d4aebc0e9e467b (diff) |
[media] dvb-usb: add support for the media controller at USB driver
Create a struct media_device and add it to the dvb adapter.
Please notice that the tuner is not mapped yet by the dvb core.
[mchehab@osg.samsung.com: use config option MEDIA_CONTROLLER_DVB]
Signed-off-by: Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/dvb-usb.h')
-rw-r--r-- | drivers/media/usb/dvb-usb/dvb-usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb/dvb-usb.h b/drivers/media/usb/dvb-usb/dvb-usb.h index ce4c4e3b58bb..8d37f1e5ff23 100644 --- a/drivers/media/usb/dvb-usb/dvb-usb.h +++ b/drivers/media/usb/dvb-usb/dvb-usb.h @@ -453,6 +453,10 @@ struct dvb_usb_device { struct module *owner; void *priv; + +#ifdef CONFIG_MEDIA_CONTROLLER_DVB + struct media_device *media_dev; +#endif }; extern int dvb_usb_device_init(struct usb_interface *, |