rtc: fsl-ftm-alarm: add MODULE_TABLE()
authorMichael Walle <michael@walle.cc>
Wed, 14 Apr 2021 08:40:06 +0000 (10:40 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Apr 2021 09:21:04 +0000 (11:21 +0200)
The module doesn't load automatically. Fix it by adding the missing
MODULE_TABLE().

Fixes: 7b0b551dbc1e ("rtc: fsl-ftm-alarm: add FTM alarm driver")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210414084006.17933-1-michael@walle.cc
drivers/rtc/rtc-fsl-ftm-alarm.c

index 57cc09d..c0df49f 100644 (file)
@@ -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",},