Commit 86081d7b authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by 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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e4fe056e
...@@ -126,6 +126,7 @@ static struct platform_driver ci13xxx_msm_driver = { ...@@ -126,6 +126,7 @@ static struct platform_driver ci13xxx_msm_driver = {
.probe = ci13xxx_msm_probe, .probe = ci13xxx_msm_probe,
.driver = { .name = "msm_hsusb", }, .driver = { .name = "msm_hsusb", },
}; };
MODULE_ALIAS("platform:msm_hsusb");
static int __init ci13xxx_msm_init(void) static int __init ci13xxx_msm_init(void)
{ {
......
...@@ -2131,7 +2131,7 @@ static struct platform_driver udc_driver = { ...@@ -2131,7 +2131,7 @@ static struct platform_driver udc_driver = {
#endif #endif
}, },
}; };
MODULE_ALIAS("platform:pxa-u2o");
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>"); MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>");
......
...@@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = { ...@@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = {
}, },
/* FIXME .suspend, .resume */ /* FIXME .suspend, .resume */
}; };
MODULE_ALIAS("platform:net2272");
static int __init net2272_init(void) static int __init net2272_init(void)
{ {
......
...@@ -1686,6 +1686,7 @@ static struct platform_driver r8a66597_driver = { ...@@ -1686,6 +1686,7 @@ static struct platform_driver r8a66597_driver = {
.name = (char *) udc_name, .name = (char *) udc_name,
}, },
}; };
MODULE_ALIAS("platform:r8a66597_udc");
static int __init r8a66597_udc_init(void) static int __init r8a66597_udc_init(void)
{ {
......
...@@ -1341,6 +1341,7 @@ static struct platform_driver s3c_hsudc_driver = { ...@@ -1341,6 +1341,7 @@ static struct platform_driver s3c_hsudc_driver = {
}, },
.probe = s3c_hsudc_probe, .probe = s3c_hsudc_probe,
}; };
MODULE_ALIAS("platform:s3c-hsudc");
static int __init s3c_hsudc_modinit(void) static int __init s3c_hsudc_modinit(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment