]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: host: ehci-spear: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Sat, 19 Sep 2015 13:10:56 +0000 (14:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 09:51:58 +0000 (10:51 +0100)
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 <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-spear.c

index 34e14746b92eab6280c50c19317a9fd80a5fb87a..3c4e5253955c336a89d507329cf687a3240410ec 100644 (file)
@@ -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,