提交 1b4c5b1f 编写于 作者: M Maykel Moya 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NMaykel Moya <moya@infomed.sld.cu>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册