Commit 76485d8e authored by Emilio López's avatar Emilio López Committed by Mauro Carvalho Chehab

[media] 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: default avatarEmilio López <emilio.lopez@collabora.co.uk>
Reviewed-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent ea05e8b4
...@@ -752,6 +752,7 @@ static const struct of_device_id sunxi_musb_match[] = { ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment