[media] add media controller support to videobuf2-dvb

Allow devices to pass an optional argument to register the DVB
driver at the media controller.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Mauro Carvalho Chehab
2016-02-05 08:35:50 -02:00
parent de39078779
commit 2773b0e9ba
6 changed files with 23 additions and 7 deletions

View File

@@ -1884,7 +1884,7 @@ static int dvb_init(struct saa7134_dev *dev)
/* register everything else */
ret = vb2_dvb_register_bus(&dev->frontends, THIS_MODULE, dev,
&dev->pci->dev, adapter_nr, 0);
&dev->pci->dev, NULL, adapter_nr, 0);
/* this sequence is necessary to make the tda1004x load its firmware
* and to enter analog mode of hybrid boards