]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: amlogic-a4: fix compile error
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Wed, 13 Nov 2024 05:57:15 +0000 (13:57 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 13 Nov 2024 20:48:27 +0000 (21:48 +0100)
commit6cc79a6295719ff917b1fe191c681f642854b3f9
tree18ea961835ad0bbf6412cec37266627ce8a98e81
parenteb4ffa40010472dffdc276da307161545aab45a3
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: c89ac9182ee2 ("rtc: support for the Amlogic on-chip RTC")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20241113-fix_a4_rtc-v1-1-307af26449a8@amlogic.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-amlogic-a4.c