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:
Sebastian Andrzej Siewior 2011-06-29 16:41:55 +03:00 committed by Greg Kroah-Hartman
parent e4fe056ed3
commit 86081d7be3
5 changed files with 5 additions and 1 deletions

View file

@ -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)
{

View file

@ -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>");

View file

@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = {
},
/* FIXME .suspend, .resume */
};
MODULE_ALIAS("platform:net2272");
static int __init net2272_init(void)
{

View file

@ -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)
{

View file

@ -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)
{