diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/a800.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/a800.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/a800.c b/drivers/media/dvb/dvb-usb/a800.c index a6c5f19f680d..dc8c8784caa8 100644 --- a/drivers/media/dvb/dvb-usb/a800.c +++ b/drivers/media/dvb/dvb-usb/a800.c | |||
@@ -18,6 +18,9 @@ | |||
18 | static int debug; | 18 | static int debug; |
19 | module_param(debug, int, 0644); | 19 | module_param(debug, int, 0644); |
20 | MODULE_PARM_DESC(debug, "set debugging level (rc=1 (or-able))." DVB_USB_DEBUG_STATUS); | 20 | MODULE_PARM_DESC(debug, "set debugging level (rc=1 (or-able))." DVB_USB_DEBUG_STATUS); |
21 | |||
22 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); | ||
23 | |||
21 | #define deb_rc(args...) dprintk(debug,0x01,args) | 24 | #define deb_rc(args...) dprintk(debug,0x01,args) |
22 | 25 | ||
23 | static int a800_power_ctrl(struct dvb_usb_device *d, int onoff) | 26 | static int a800_power_ctrl(struct dvb_usb_device *d, int onoff) |
@@ -94,7 +97,8 @@ static struct dvb_usb_device_properties a800_properties; | |||
94 | static int a800_probe(struct usb_interface *intf, | 97 | static int a800_probe(struct usb_interface *intf, |
95 | const struct usb_device_id *id) | 98 | const struct usb_device_id *id) |
96 | { | 99 | { |
97 | return dvb_usb_device_init(intf,&a800_properties,THIS_MODULE,NULL); | 100 | return dvb_usb_device_init(intf, &a800_properties, |
101 | THIS_MODULE, NULL, adapter_nr); | ||
98 | } | 102 | } |
99 | 103 | ||
100 | /* do not change the order of the ID table */ | 104 | /* do not change the order of the ID table */ |