From: Thierry Reding <treding@xxxxxxxxxx> Exporting the OF device ID match table allows udev to automatically load the module upon receiving an "ADD" uevent for the CEC controller device. Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> --- drivers/media/platform/tegra-cec/tegra_cec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/tegra-cec/tegra_cec.c b/drivers/media/platform/tegra-cec/tegra_cec.c index 8a1e10d008d0..4e9f91528f77 100644 --- a/drivers/media/platform/tegra-cec/tegra_cec.c +++ b/drivers/media/platform/tegra-cec/tegra_cec.c @@ -476,6 +476,7 @@ static const struct of_device_id tegra_cec_of_match[] = { { .compatible = "nvidia,tegra194-cec", }, {}, }; +MODULE_DEVICE_TABLE(of, tegra_cec_of_match); static struct platform_driver tegra_cec_driver = { .driver = { -- 2.19.1