summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-04-28 22:20:26 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-04-28 22:20:26 +0000
commit3717ed3fadb5ba313c1be3928bfd8f0c0fdf7c36 (patch)
tree6a27379490aeb7aa56febae604d9b8c9e40b1608 /linux/drivers
parentf5e558f5296856b3ee1d740a9970a2301cf2db07 (diff)
downloadmediapointer-dvb-s2-3717ed3fadb5ba313c1be3928bfd8f0c0fdf7c36.tar.gz
mediapointer-dvb-s2-3717ed3fadb5ba313c1be3928bfd8f0c0fdf7c36.tar.bz2
tm6000: make tree buildable
From: Maykel Moya <moya-lists@infomed.sld.cu> Signed-off-by: Maykel Moya <moya@infomed.sld.cu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers')
-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) {