arm: Fix duplicate ehci DRIVER_MODULE
Name each ehci driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register simplebus/ehci from kernel; already loaded from kernel
This commit is contained in:
parent
fe7cc38a38
commit
7f7d3ba77c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333074
@ -365,5 +365,5 @@ static driver_t ehci_driver = {
|
|||||||
|
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
DRIVER_MODULE(a10_ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
||||||
MODULE_DEPEND(ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(a10_ehci, usb, 1, 1, 1);
|
||||||
|
@ -244,5 +244,5 @@ static driver_t ehci_driver = {
|
|||||||
|
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, econaarm, ehci_driver, ehci_devclass, 0, 0);
|
DRIVER_MODULE(ebus_ehci, econaarm, ehci_driver, ehci_devclass, 0, 0);
|
||||||
MODULE_DEPEND(ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(ebus_ehci, usb, 1, 1, 1);
|
||||||
|
@ -166,8 +166,8 @@ static driver_t ehci_driver = {
|
|||||||
|
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
DRIVER_MODULE(vybrid_ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
||||||
MODULE_DEPEND(ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(vybrid_ehci, usb, 1, 1, 1);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vybrid_ehci_post_reset(struct ehci_softc *ehci_softc)
|
vybrid_ehci_post_reset(struct ehci_softc *ehci_softc)
|
||||||
|
@ -131,8 +131,8 @@ static driver_t ehci_driver = {
|
|||||||
|
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
DRIVER_MODULE(exynos_ehci, simplebus, ehci_driver, ehci_devclass, 0, 0);
|
||||||
MODULE_DEPEND(ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(exynos_ehci, usb, 1, 1, 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Public methods
|
* Public methods
|
||||||
|
@ -469,4 +469,4 @@ static driver_t ehci_driver = {
|
|||||||
|
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, omap_uhh, ehci_driver, ehci_devclass, 0, 0);
|
DRIVER_MODULE(omap_ehci, omap_uhh, ehci_driver, ehci_devclass, 0, 0);
|
||||||
|
@ -370,5 +370,5 @@ static driver_t ehci_driver = {
|
|||||||
};
|
};
|
||||||
static devclass_t ehci_devclass;
|
static devclass_t ehci_devclass;
|
||||||
|
|
||||||
DRIVER_MODULE(ehci, simplebus, ehci_driver, ehci_devclass, NULL, NULL);
|
DRIVER_MODULE(zy7_ehci, simplebus, ehci_driver, ehci_devclass, NULL, NULL);
|
||||||
MODULE_DEPEND(ehci, usb, 1, 1, 1);
|
MODULE_DEPEND(zy7_ehci, usb, 1, 1, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user