Skip to content

Commit 4b9e373

Browse files
Anson-Huangdlezcano
authored andcommitted
thermal: imx8mm: Support module autoloading
Add a missing MODULE_DEVICE_TABLE entry to support module autoloading. Signed-off-by: Anson Huang <[email protected]> Reviewed-by: Dong Aisheng <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0f348db commit 4b9e373

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/thermal/imx8mm_thermal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ static const struct of_device_id imx8mm_tmu_table[] = {
220220
{ .compatible = "fsl,imx8mp-tmu", .data = &imx8mp_tmu_data, },
221221
{ },
222222
};
223+
MODULE_DEVICE_TABLE(of, imx8mm_tmu_table);
223224

224225
static struct platform_driver imx8mm_tmu = {
225226
.driver = {

0 commit comments

Comments
 (0)