[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
823b460ee7
commit
496ccf92b9
@@ -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 *,
|
||||
|
Reference in New Issue
Block a user