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>
This commit is contained in:
Emilio López 2016-02-21 22:26:36 -03:00 committed by Felipe Balbi
parent 4a75754751
commit 5266a7603f

View File

@ -752,6 +752,7 @@ static const struct of_device_id sunxi_musb_match[] = {
{ .compatible = "allwinner,sun8i-a33-musb", }, { .compatible = "allwinner,sun8i-a33-musb", },
{} {}
}; };
MODULE_DEVICE_TABLE(of, sunxi_musb_match);
static struct platform_driver sunxi_musb_driver = { static struct platform_driver sunxi_musb_driver = {
.probe = sunxi_musb_probe, .probe = sunxi_musb_probe,