summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/net2272.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-06-29 16:41:55 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 14:27:07 -0700
commit86081d7be34e0f80dc5c46391ec927fc4f350462 (patch)
tree171b77fbb4dba32013525ff7b0cf990e0fe54cb1 /drivers/usb/gadget/net2272.c
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>
Diffstat (limited to 'drivers/usb/gadget/net2272.c')
-rw-r--r--drivers/usb/gadget/net2272.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c
index 739f564f252..6065bdfd83b 100644
--- a/drivers/usb/gadget/net2272.c
+++ b/drivers/usb/gadget/net2272.c
@@ -2720,6 +2720,7 @@ static struct platform_driver net2272_plat_driver = {
},
/* FIXME .suspend, .resume */
};
+MODULE_ALIAS("platform:net2272");
static int __init net2272_init(void)
{