Commit 1b4c5b1f authored by Maykel Moya's avatar Maykel Moya Committed by Mauro Carvalho Chehab

V4L/DVB (12837): tm6000: make tree buildable

Signed-off-by: default avatarMaykel Moya <moya@infomed.sld.cu>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ed0236af
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment