summaryrefslogtreecommitdiff
path: root/linux/drivers/staging
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/staging')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-dvb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-dvb.c b/linux/drivers/staging/tm6000/tm6000-dvb.c
index b90500ad1..7a7bd6429 100644
--- a/linux/drivers/staging/tm6000/tm6000-dvb.c
+++ b/linux/drivers/staging/tm6000/tm6000-dvb.c
@@ -212,6 +212,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;
@@ -229,7 +231,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) {