Hi here is a small pacth that corrects an small bug in the opera1.c file. the dvb_usb_device* d is not used anymore and can be remove with this. Signed-off-by: Marco Gittler <g.marco@xxxxxxxxxx>
diff -r fe8aa7835454 linux/drivers/media/dvb/dvb-usb/opera1.c --- a/linux/drivers/media/dvb/dvb-usb/opera1.c Tue Jun 26 17:22:39 2007 -0300 +++ b/linux/drivers/media/dvb/dvb-usb/opera1.c Fri Jun 22 01:47:05 2007 +0200 @@ -545,18 +545,16 @@ static int opera1_probe(struct usb_inter static int opera1_probe(struct usb_interface *intf, const struct usb_device_id *id) { - struct dvb_usb_device *d; struct usb_device *udev = interface_to_usbdev(intf); if (udev->descriptor.idProduct == USB_PID_OPERA1_WARM && udev->descriptor.idVendor == USB_VID_OPERA1 && - (d == NULL - || opera1_xilinx_load_firmware(udev, "dvb-usb-opera1-fpga.fw") != 0) - ) { + opera1_xilinx_load_firmware(udev, "dvb-usb-opera1-fpga.fw") != 0 + ) { return -EINVAL; } - if (dvb_usb_device_init(intf, &opera1_properties, THIS_MODULE, &d) != 0) + if (dvb_usb_device_init(intf, &opera1_properties, THIS_MODULE, NULL) != 0) return -EINVAL; return 0; }
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb