diff options
author | Rafael Lourenço de Lima Chehab <chehabrafael@gmail.com> | 2015-02-13 22:29:14 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 13:52:26 +0100 |
commit | 496ccf92b9b5342b995a711829de76c320a916b6 (patch) | |
tree | 36ccaadc4fe701b1a96db88569c2da59c92a236b /drivers/media/usb/dvb-usb/dvb-usb.h | |
parent | [media] dvb-usb-v2: create one media_dev per adapter (diff) | |
download | linux-496ccf92b9b5342b995a711829de76c320a916b6.tar.xz linux-496ccf92b9b5342b995a711829de76c320a916b6.zip |
[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 *, |