usb: host: ehci-spear: Fix module autoload for OF platform driver
Subsystems (2)
PATCH v2 1/4 usb: host: ehci-spear: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
--- drivers/usb/host/ehci-spear.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/ehci-spear.c +1 -0
@@ -149,6 +149,7 @@ static const struct of_device_id spear_ehci_id_table[] = { { .compatible = "st,spear600-ehci", }, { }, }; +MODULE_DEVICE_TABLE (of, spear_ehci_id_table);static struct platform_driver spear_ehci_hcd_driver = { .probe = spear_ehci_hcd_drv_probe,
Signature · 1 line
2.4.6
Quoted 14 lines · Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>--- drivers/usb/host/ehci-spear.c | 1 + 1 file changed, 1 insertion(+)drivers/usb/host/ehci-spear.c +0
-0
drivers/usb/host/ehci-spear.c static const struct of_device_id spear_ehci_id_table[] = { · line 155
Quoted 7 lines
drivers/usb/host/ehci-spear.c +1
-0@@ -149,6 +149,7 @@ static const struct of_device_id spear_ehci_id_table[] = { { .compatible = "st,spear600-ehci", }, { }, }; +MODULE_DEVICE_TABLE (of, spear_ehci_id_table);static struct platform_driver spear_ehci_hcd_driver = { .probe = spear_ehci_hcd_drv_probe,
Also for V2 of patches 3/4 and 4/4.
Alan Stern
Greg Kroah-Hartman
maintainerQuoted 7 lines · Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>--- drivers/usb/host/ehci-spear.c | 1 + 1 file changed, 1 insertion(+)
Ugh, what a mess, please resend the whole series when you fix up a patch in it as this is hard to figure out what to do.
And can you "thread" the patch series properly? That makes it much easier for me to apply them as I can group them correctly.
thanks,
greg k-h