Skip to contentSkip to conversation

thermal: imx8mm: Support module autoloading

PATCH In review Anson Huang 2 participants 2 messages Jun 17, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: imx8mm: Support module autoloading

Add a missing MODULE_DEVICE_TABLE entry to support module autoloading.

---
 drivers/thermal/imx8mm_thermal.c | 1 +
 1 file changed, 1 insertion(+)
drivers/thermal/imx8mm_thermal.c +1 -0
index e6061e2..f5124f1 100644
@@ -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 = {
Signature · 1 line
2.7.4