[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:
@@ -462,8 +462,8 @@ static int netup_unidvb_dvb_init(struct netup_unidvb_dev *ndev,
|
||||
}
|
||||
|
||||
if (vb2_dvb_register_bus(&ndev->frontends[num],
|
||||
THIS_MODULE, NULL,
|
||||
&ndev->pci_dev->dev, adapter_nr, 1)) {
|
||||
THIS_MODULE, NULL,
|
||||
&ndev->pci_dev->dev, NULL, adapter_nr, 1)) {
|
||||
dev_dbg(&ndev->pci_dev->dev,
|
||||
"%s(): unable to register DVB bus %d\n",
|
||||
__func__, num);
|
||||
|
||||
Reference in New Issue
Block a user