提交 86081d7b 编写于 作者: S Sebastian Andrzej Siewior 提交者: Greg Kroah-Hartman

usb: gadget: add platform module alias where it is missing

Without it udev won't be able to load the driver once it notices the
device unbound.
Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 e4fe056e
......@@ -126,6 +126,7 @@ static struct platform_driver ci13xxx_msm_driver = {
.probe = ci13xxx_msm_probe,
.driver = { .name = "msm_hsusb", },
};
MODULE_ALIAS("platform:msm_hsusb");
static int __init ci13xxx_msm_init(void)
{
......
......@@ -2131,7 +2131,7 @@ static struct platform_driver udc_driver = {
#endif
},
};
MODULE_ALIAS("platform:pxa-u2o");
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>");
......
......@@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = {
},
/* FIXME .suspend, .resume */
};
MODULE_ALIAS("platform:net2272");
static int __init net2272_init(void)
{
......
......@@ -1686,6 +1686,7 @@ static struct platform_driver r8a66597_driver = {
.name = (char *) udc_name,
},
};
MODULE_ALIAS("platform:r8a66597_udc");
static int __init r8a66597_udc_init(void)
{
......
......@@ -1341,6 +1341,7 @@ static struct platform_driver s3c_hsudc_driver = {
},
.probe = s3c_hsudc_probe,
};
MODULE_ALIAS("platform:s3c-hsudc");
static int __init s3c_hsudc_modinit(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册