From: Anson Huang Date: Wed, 17 Jun 2020 07:47:54 +0000 (+0800) Subject: thermal: imx8mm: Support module autoloading X-Git-Tag: howlett/maple_spf/20210104~1315^2~10 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4b9e373e04ca22780a4355252d415268de559493;p=users%2Fjedix%2Flinux-maple.git thermal: imx8mm: Support module autoloading Add a missing MODULE_DEVICE_TABLE entry to support module autoloading. Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/1592380074-19222-1-git-send-email-Anson.Huang@nxp.com --- diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c index e6061e26d4ac0..f5124f14cf813 100644 --- a/drivers/thermal/imx8mm_thermal.c +++ b/drivers/thermal/imx8mm_thermal.c @@ -220,6 +220,7 @@ static const struct of_device_id imx8mm_tmu_table[] = { { .compatible = "fsl,imx8mp-tmu", .data = &imx8mp_tmu_data, }, { }, }; +MODULE_DEVICE_TABLE(of, imx8mm_tmu_table); static struct platform_driver imx8mm_tmu = { .driver = {