aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-06-29 09:41:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 17:27:07 -0400
commit86081d7be34e0f80dc5c46391ec927fc4f350462 (patch)
tree171b77fbb4dba32013525ff7b0cf990e0fe54cb1
parente4fe056ed3a350ec569aa25014a0982883bc03c1 (diff)
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>
-rw-r--r--drivers/usb/gadget/ci13xxx_msm.c1
-rw-r--r--drivers/usb/gadget/mv_udc_core.c2
-rw-r--r--drivers/usb/gadget/net2272.c1
-rw-r--r--drivers/usb/gadget/r8a66597-udc.c1
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c1
5 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ci13xxx_msm.c b/drivers/usb/gadget/ci13xxx_msm.c
index 139ac9419597..470981ad6f77 100644
--- a/drivers/usb/gadget/ci13xxx_msm.c
+++ b/drivers/usb/gadget/ci13xxx_msm.c
@@ -126,6 +126,7 @@ static struct platform_driver ci13xxx_msm_driver = {
126 .probe = ci13xxx_msm_probe, 126 .probe = ci13xxx_msm_probe,
127 .driver = { .name = "msm_hsusb", }, 127 .driver = { .name = "msm_hsusb", },
128}; 128};
129MODULE_ALIAS("platform:msm_hsusb");
129 130
130static int __init ci13xxx_msm_init(void) 131static int __init ci13xxx_msm_init(void)
131{ 132{
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index 6adf38c5353f..ce1ac2bcb314 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -2131,7 +2131,7 @@ static struct platform_driver udc_driver = {
2131#endif 2131#endif
2132 }, 2132 },
2133}; 2133};
2134 2134MODULE_ALIAS("platform:pxa-u2o");
2135 2135
2136MODULE_DESCRIPTION(DRIVER_DESC); 2136MODULE_DESCRIPTION(DRIVER_DESC);
2137MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>"); 2137MODULE_AUTHOR("Chao Xie <chao.xie@marvell.com>");
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c
index 739f564f2523..6065bdfd83bb 100644
--- a/drivers/usb/gadget/net2272.c
+++ b/drivers/usb/gadget/net2272.c
@@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = {
2720 }, 2720 },
2721 /* FIXME .suspend, .resume */ 2721 /* FIXME .suspend, .resume */
2722}; 2722};
2723MODULE_ALIAS("platform:net2272");
2723 2724
2724static int __init net2272_init(void) 2725static int __init net2272_init(void)
2725{ 2726{
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c
index 51b655f3b477..db7a6de85839 100644
--- a/drivers/usb/gadget/r8a66597-udc.c
+++ b/drivers/usb/gadget/r8a66597-udc.c
@@ -1686,6 +1686,7 @@ static struct platform_driver r8a66597_driver = {
1686 .name = (char *) udc_name, 1686 .name = (char *) udc_name,
1687 }, 1687 },
1688}; 1688};
1689MODULE_ALIAS("platform:r8a66597_udc");
1689 1690
1690static int __init r8a66597_udc_init(void) 1691static int __init r8a66597_udc_init(void)
1691{ 1692{
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index dc9f42823a45..3fa717c5f4bc 100644
--- a/drivers/usb/gadget/s3c-hsudc.c
+++ b/drivers/usb/gadget/s3c-hsudc.c
@@ -1341,6 +1341,7 @@ static struct platform_driver s3c_hsudc_driver = {
1341 }, 1341 },
1342 .probe = s3c_hsudc_probe, 1342 .probe = s3c_hsudc_probe,
1343}; 1343};
1344MODULE_ALIAS("platform:s3c-hsudc");
1344 1345
1345static int __init s3c_hsudc_modinit(void) 1346static int __init s3c_hsudc_modinit(void)
1346{ 1347{