Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75656 | Differences between
and this patch

Collapse All | Expand All

(-)slmodem-2.9.10/drivers/amrmo_init.c.orig (-9 / +2 lines)
Lines 718-732 Link Here
718
				dev->driver->remove(dev);
718
				dev->driver->remove(dev);
719
			dev->driver = NULL;
719
			dev->driver = NULL;
720
#else
720
#else
721
			struct device *reldev = get_device(&dev->dev);
721
			AMRMO_DBG("device %04x:%04x is grabbed by another driver, ignoring",
722
			AMRMO_DBG("device %04x:%04x is grabbed by driver %s: try to release\n",
722
				  dev->vendor,dev->device);
723
				  dev->vendor,dev->device,
724
				  (reldev&&reldev->driver)?
725
				   reldev->driver->name:"unknown");
726
			if (reldev) {
727
				device_release_driver(reldev);
728
				put_device(reldev);
729
			}
730
#endif
723
#endif
731
		}
724
		}
732
	}
725
	}

Return to bug 75656