提交 ab59ac01 编写于 作者: J Jan Luebbe 提交者: Greg Kroah-Hartman

ohci-da8xx: set MODULE_ALIAS to allow autoloading

The Davinci USB platform device (in mach-davinci/usb.c) uses "ohci"
as the name. To allow autoloading of the relevant driver, the module
needs to set the MODULE_ALIAS.
Signed-off-by: NJan Luebbe <jlu@pengutronix.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 bfb8bfad
...@@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = { ...@@ -454,3 +454,5 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
.name = "ohci", .name = "ohci",
}, },
}; };
MODULE_ALIAS("platform:ohci");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册