extern int dvb_usbv2_device_init(struct usb_interface *,
struct dvb_usb_device_properties *,
- struct module *, struct dvb_usb_device **,
+ struct module *,
short *adapter_nums);
extern void dvb_usbv2_device_exit(struct usb_interface *);
*/
int dvb_usbv2_device_init(struct usb_interface *intf,
struct dvb_usb_device_properties *props,
- struct module *owner, struct dvb_usb_device **du,
+ struct module *owner,
short *adapter_nums)
{
struct usb_device *udev = interface_to_usbdev(intf);
int ret = -ENOMEM, cold = 0;
- if (du != NULL)
- *du = NULL;
-
if ((desc = dvb_usb_find_device(udev, props, &cold)) == NULL) {
deb_err("something went very wrong, device was not found in current device list - let's see what comes next.\n");
return -ENODEV;
usb_set_intfdata(intf, d);
- if (du != NULL)
- *du = d;
-
ret = dvb_usb_init(d, adapter_nums);
if (ret == 0)