]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (12837): tm6000: make tree buildable
authorMaykel Moya <moya-lists@infomed.sld.cu>
Mon, 28 Apr 2008 22:20:26 +0000 (19:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:40:15 +0000 (00:40 -0300)
Signed-off-by: Maykel Moya <moya@infomed.sld.cu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-dvb.c

index fa6d3a00f9b0dd13bc17c9c03ea0bde6dd6e9d50..6a4cbc5fcd93af016a185effda0660247f85e6d9 100644 (file)
@@ -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) {