diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 74baa28d16ab..1a720abbd066 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -54,6 +54,8 @@ static unsigned int alt_tuner; | |||
54 | module_param(alt_tuner, int, 0644); | 54 | module_param(alt_tuner, int, 0644); |
55 | MODULE_PARM_DESC(alt_tuner, "Enable alternate tuner configuration"); | 55 | MODULE_PARM_DESC(alt_tuner, "Enable alternate tuner configuration"); |
56 | 56 | ||
57 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); | ||
58 | |||
57 | /* ------------------------------------------------------------------ */ | 59 | /* ------------------------------------------------------------------ */ |
58 | 60 | ||
59 | static int dvb_buf_setup(struct videobuf_queue *q, | 61 | static int dvb_buf_setup(struct videobuf_queue *q, |
@@ -333,7 +335,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
333 | 335 | ||
334 | /* register everything */ | 336 | /* register everything */ |
335 | return videobuf_dvb_register(&port->dvb, THIS_MODULE, port, | 337 | return videobuf_dvb_register(&port->dvb, THIS_MODULE, port, |
336 | &dev->pci->dev); | 338 | &dev->pci->dev, adapter_nr); |
337 | } | 339 | } |
338 | 340 | ||
339 | int cx23885_dvb_register(struct cx23885_tsport *port) | 341 | int cx23885_dvb_register(struct cx23885_tsport *port) |