speedtch usbatm.c,1.5,1.6

Duncan Sands duncan at infradead.org
Mon Feb 7 11:13:07 EST 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv15208

Modified Files:
	usbatm.c 
Log Message:
Patch from Roman: avoid using the minidriver name after the minidriver module has been
unloaded.  If we manage to force the ATM device to close when the USB device goes away
then we can try reversing this.


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- usbatm.c	7 Feb 2005 16:00:08 -0000	1.5
+++ usbatm.c	7 Feb 2005 16:13:04 -0000	1.6
@@ -946,7 +946,7 @@
 	int ret;
 
 	/* ATM init */
-	atm_dev = atm_dev_register(instance->driver->driver_name, &usbatm_atm_devops, -1, NULL);
+	atm_dev = atm_dev_register(usbatm_driver_name, &usbatm_atm_devops, -1, NULL);
 	if (!atm_dev) {
 		dbg("usbatm_atm_init: failed to register ATM device!");
 		return -1;




More information about the Usbatm-commits mailing list