usb: ohci/uhci - add soft dependencies on ehci_pci
authorTom Gundersen <teg@jklm.no>
Tue, 10 Sep 2013 21:30:14 +0000 (23:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:20:52 +0000 (17:20 -0700)
Support for specifying soft dependencies in the modules themselves was
introduced in commit 7cb14ba.

In Arch we have always been shipping a module.d(5) fragment ordering ohci/uhci
after ehci. If this ordering is really necessary, it would be great to move it
to the kernel and getting the correct fragment generated by depmod.

Signed-off-by: Tom Gundersen <teg@jklm.no>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pci.c
drivers/usb/host/uhci-pci.c

index ec337c2bd5e0b5294efa467691ef1807742aa1bc..eedf97c1790e7c9e3f3a8e070263ac205a488d57 100644 (file)
@@ -323,3 +323,4 @@ module_exit(ohci_pci_cleanup);
 
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL");
+MODULE_SOFTDEP("pre: ehci_pci");
index c300bd2f7d1c53e0ee684b0c6f9cab185fb1c55c..f7bbf43be039f98e9683eb37aba38740a67c5420 100644 (file)
@@ -299,3 +299,5 @@ static struct pci_driver uhci_pci_driver = {
        },
 #endif
 };
+
+MODULE_SOFTDEP("pre: ehci_pci");