Without this change, including rtc.h solely will cause a build error. Signed-off-by: AKASHI Takahiro <takahiro.aka...@linaro.org> --- include/rtc.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/rtc.h b/include/rtc.h index 7386d52db1d7..8aabfc1162a4 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -18,6 +18,8 @@ #ifdef CONFIG_DM_RTC +struct udevice; + struct rtc_ops { /** * get() - get the current time -- 2.21.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot