From: AKASHI Takahiro Date: Wed, 13 Nov 2019 00:44:48 +0000 (+0900) Subject: rtc.h: add struct udevice declaration X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=09030e0361cee79241c0d2c12fd6929de5b64b30;p=u-boot.git rtc.h: add struct udevice declaration Without this change, including rtc.h solely will cause a build error. Signed-off-by: AKASHI Takahiro --- diff --git a/include/rtc.h b/include/rtc.h index 7386d52db1..8aabfc1162 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