diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 05:33:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 11:55:41 -0200 |
commit | 616f75e1979f5bd1f3241581c720349c2c31f6e7 (patch) | |
tree | 1e27db004941da63b8c0793e4b7eab74e48ea64a /drivers/media/dvb/mantis/mantis_dvb.c | |
parent | 263645de70175d8b5a5e392a1856e99e2e1b7209 (diff) | |
download | lwn-616f75e1979f5bd1f3241581c720349c2c31f6e7.tar.gz lwn-616f75e1979f5bd1f3241581c720349c2c31f6e7.zip |
V4L/DVB (13787): [Mantis] Fix build
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_dvb.c')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_dvb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c index c3a35bee4686..5172e8563546 100644 --- a/drivers/media/dvb/mantis/mantis_dvb.c +++ b/drivers/media/dvb/mantis/mantis_dvb.c @@ -32,6 +32,8 @@ #include "mantis_vp2040.h" #include "mantis_vp3030.h" +DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); + /* Tuner power supply control */ void mantis_fe_powerup(struct mantis_pci *mantis) { @@ -128,7 +130,8 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis) dprintk(verbose, MANTIS_DEBUG, 1, "dvb_register_adapter"); if (dvb_register_adapter(&mantis->dvb_adapter, "Mantis dvb adapter", THIS_MODULE, - &mantis->pdev->dev) < 0) { + &mantis->pdev->dev, + adapter_nr) < 0) { dprintk(verbose, MANTIS_ERROR, 1, "Error registering adapter"); return -ENODEV; |