mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-09 22:24:04 +08:00
V4L/DVB (12837): tm6000: make tree buildable
Signed-off-by: Maykel Moya <moya@infomed.sld.cu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
ed0236afa2
commit
1b4c5b1f05
@ -208,6 +208,8 @@ int tm6000_dvb_attach_frontend(struct tm6000_core *dev)
|
||||
return (!dvb->frontend) ? -1 : 0;
|
||||
}
|
||||
|
||||
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
|
||||
|
||||
int tm6000_dvb_register(struct tm6000_core *dev)
|
||||
{
|
||||
int ret = -1;
|
||||
@ -225,7 +227,7 @@ int tm6000_dvb_register(struct tm6000_core *dev)
|
||||
}
|
||||
|
||||
ret = dvb_register_adapter(&dvb->adapter, "Trident TVMaster 6000 DVB-T",
|
||||
THIS_MODULE, &dev->udev->dev);
|
||||
THIS_MODULE, &dev->udev->dev, adapter_nr);
|
||||
dvb->adapter.priv = dev;
|
||||
|
||||
if (dvb->frontend) {
|
||||
|
Loading…
Reference in New Issue
Block a user