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>
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c
index 739f564..6065bdf 100644
--- a/drivers/usb/gadget/net2272.c
+++ b/drivers/usb/gadget/net2272.c
@@ -2720,6 +2720,7 @@
},
/* FIXME .suspend, .resume */
};
+MODULE_ALIAS("platform:net2272");
static int __init net2272_init(void)
{