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 (-1 / +1 lines)
Lines 740-746 Link Here
740
	}
740
	}
741
#endif
741
#endif
742
742
743
	if (!pci_register_driver(&amrmo_pci_driver)) {
743
	if (pci_register_driver(&amrmo_pci_driver) < 0) {
744
		pci_unregister_driver(&amrmo_pci_driver);
744
		pci_unregister_driver(&amrmo_pci_driver);
745
#ifndef OLD_KERNEL
745
#ifndef OLD_KERNEL
746
		class_simple_destroy(amrmo_class);
746
		class_simple_destroy(amrmo_class);

Return to bug 75656