Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Compile patch for dibusb under woody



Hi, my target arch is based on debian woody (with a 2.6 kernel though). The 
attached patch fixes a compile issue with this platform and dibusb.
Index: dvb-dibusb.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dibusb/dvb-dibusb.c,v
retrieving revision 1.3
diff -a -u -r1.3 dvb-dibusb.c
--- dvb-dibusb.c	6 Sep 2004 19:38:24 -0000	1.3
+++ dvb-dibusb.c	9 Sep 2004 09:14:01 -0000
@@ -655,9 +655,9 @@
 static void dibusb_disconnect(struct usb_interface *intf)
 {
 	struct usb_dibusb *dib = usb_get_intfdata(intf);
-	usb_set_intfdata(intf,NULL);
 	const char *name = DRIVER_DESC;
 	
+	usb_set_intfdata(intf,NULL);
 	if (dib != NULL) {
 		name = dib->dibdev->name;
 		dibusb_dvb_exit(dib);

Home | Main Index | Thread Index