Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea05e8b4 authored by Emilio López's avatar Emilio López Committed by Mauro Carvalho Chehab
Browse files

[media] rc: sunxi-cir: support module autoloading



MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
systems supporting infrared. This commit adds the missing line so it
works out of the box when built as a module and running on a sunxi
system with an infrared receiver.

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 a288b78b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ static const struct of_device_id sunxi_ir_match[] = {
	{ .compatible = "allwinner,sun5i-a13-ir", },
	{},
};
MODULE_DEVICE_TABLE(of, sunxi_ir_match);

static struct platform_driver sunxi_ir_driver = {
	.probe          = sunxi_ir_probe,