Linux-RTC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] rtc: fsl-ftm-alarm: add MODULE_TABLE()
@ 2021-04-14  8:40 Michael Walle
  2021-04-16 23:01 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Walle @ 2021-04-14  8:40 UTC (permalink / raw)
  To: linux-rtc, linux-kernel
  Cc: Alessandro Zummo, Alexandre Belloni, Biwen Li, Michael Walle

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>
---
 drivers/rtc/rtc-fsl-ftm-alarm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c b/drivers/rtc/rtc-fsl-ftm-alarm.c
index 57cc09d0a806..c0df49fb978c 100644
--- a/drivers/rtc/rtc-fsl-ftm-alarm.c
+++ b/drivers/rtc/rtc-fsl-ftm-alarm.c
@@ -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",},
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc: fsl-ftm-alarm: add MODULE_TABLE()
  2021-04-14  8:40 [PATCH] rtc: fsl-ftm-alarm: add MODULE_TABLE() Michael Walle
@ 2021-04-16 23:01 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2021-04-16 23:01 UTC (permalink / raw)
  To: linux-rtc, linux-kernel, Michael Walle
  Cc: Alexandre Belloni, Alessandro Zummo, Biwen Li

On Wed, 14 Apr 2021 10:40:06 +0200, Michael Walle wrote:
> 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,
-- 
Alexandre Belloni <alexandre.belloni@bootlin.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14  8:40 [PATCH] rtc: fsl-ftm-alarm: add MODULE_TABLE() Michael Walle
2021-04-16 23:01 ` Alexandre Belloni

Linux-RTC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rtc/0 linux-rtc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rtc linux-rtc/ https://lore.kernel.org/linux-rtc \
		linux-rtc@vger.kernel.org
	public-inbox-index linux-rtc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rtc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git