Skip to contentSkip to conversation

rtc: fsl-ftm-alarm: add MODULE_TABLE()

PATCH Applied Michael Walle 2 participants 2 messages Apr 14, 2021 – Apr 16, 2021 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: fsl-ftm-alarm: add MODULE_TABLE()

The module doesn't load automatically. Fix it by adding the missing MODULE_TABLE().

Fixes 7b0b551dbc1e ("rtc: fsl-ftm-alarm: add FTM alarm driver")
---
 drivers/rtc/rtc-fsl-ftm-alarm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/rtc/rtc-fsl-ftm-alarm.c +1 -0
index 57cc09d0a806..c0df49fb978c 100644
@@ -310,6 +310,7 @@ static const struct of_device_id ftm_rtc_match[] = {
 	{ .compatible = "fsl,lx2160a-ftm-alarm", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, ftm_rtc_match);
 
 static const struct acpi_device_id ftm_imx_acpi_ids[] = {
 	{"NXP0014",},
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Michael Walle

The module doesn't load automatically. Fix it by adding the missing MODULE_TABLE().

Applied, thanks!

[1/1] rtc: fsl-ftm-alarm: add MODULE_TABLE()

      commit: 199bb382375ad1b2178e250f82f6d95f8d6f7709

Best regards,

Signature · 1 line
Alexandre Belloni <[email protected]>