commit | 80eb59ac26d160e480a35d463aa918950988c480 | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Wed Nov 13 09:44:48 2019 +0900 |
committer | Tom Rini <trini@konsulko.com> | Fri Dec 06 16:44:19 2019 -0500 |
tree | 11216902443ddd2c34fb5ebd235587f63fcd9ba7 | |
parent | 1d8d34da75bc7d9d17dd514bc77caf31b9f59331 [diff] |
rtc.h: add struct udevice declaration Without this change, including rtc.h solely will cause a build error. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
diff --git a/include/rtc.h b/include/rtc.h index 7386d52..8aabfc1 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