summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-02-22 01:26:36 (GMT)
committerFelipe Balbi <balbi@kernel.org>2016-03-04 13:14:38 (GMT)
commit5266a7603faa036f6707623ba76f054349050c85 (patch)
treef8c31d341ff18179d07f92ed1fab1b560e873d71 /drivers/usb/musb
parent4a75754751a02cd12cd598e02ded226c3ea2fc23 (diff)
downloadlinux-5266a7603faa036f6707623ba76f054349050c85.tar.xz
usb: musb: sunxi: support module autoloading
MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on sunxi systems using the OTG controller. This commit adds the missing line so it loads automatically when building it as a module and running on a system with an USB OTG port. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/sunxi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c
index d9b0dc4..fdab423 100644
--- a/drivers/usb/musb/sunxi.c
+++ b/drivers/usb/musb/sunxi.c
@@ -752,6 +752,7 @@ static const struct of_device_id sunxi_musb_match[] = {
{ .compatible = "allwinner,sun8i-a33-musb", },
{}
};
+MODULE_DEVICE_TABLE(of, sunxi_musb_match);
static struct platform_driver sunxi_musb_driver = {
.probe = sunxi_musb_probe,