The MODULE_ALIAS string should match the '.name' field of the platform driver.

In this case we have '.name = "imx_usb"', so adapt MODULE_ALIAS() accordingly.

Signed-off-by: Fabio Estevam <fabio.este...@freescale.com>
---
 drivers/usb/chipidea/ci_hdrc_imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c 
b/drivers/usb/chipidea/ci_hdrc_imx.c
index 74d998d..2aea048 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -202,7 +202,7 @@ static struct platform_driver ci_hdrc_imx_driver = {
 
 module_platform_driver(ci_hdrc_imx_driver);
 
-MODULE_ALIAS("platform:imx-usb");
+MODULE_ALIAS("platform:imx_usb");
 MODULE_LICENSE("GPL v2");
 MODULE_DESCRIPTION("CI HDRC i.MX USB binding");
 MODULE_AUTHOR("Marek Vasut <ma...@denx.de>");
-- 
1.8.1.2


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to