mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e4fe056ed3
commit
86081d7be3
5 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue