Skip to content

Commit

Permalink
V4L/DVB (12837): tm6000: make tree buildable
Browse files Browse the repository at this point in the history
Signed-off-by: Maykel Moya <moya@infomed.sld.cu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Maykel Moya authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent ed0236a commit 1b4c5b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/staging/tm6000/tm6000-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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) {
Expand Down

0 comments on commit 1b4c5b1

Please sign in to comment.