Commit 6cc79a62 authored by Xianwei Zhao's avatar Xianwei Zhao Committed by Alexandre Belloni
Browse files

rtc: amlogic-a4: fix compile error



When compile rtc-a4, build error as following:
ERROR: modpost: drivers/rtc/rtc-amlogic-a4: struct of_device_id is
not terminated with a NULL entry!
This commit is to fix it.

Fixes: c89ac918 ("rtc: support for the Amlogic on-chip RTC")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarXianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20241113-fix_a4_rtc-v1-1-307af26449a8@amlogic.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent eb4ffa40
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -445,6 +445,7 @@ static const struct of_device_id aml_rtc_device_id[] = {
		.compatible = "amlogic,a5-rtc",
		.data = &a5_rtc_config,
	},
	{ }
};
MODULE_DEVICE_TABLE(of, aml_rtc_device_id);