diff options
author | AKASHI Takahiro | 2019-11-13 09:44:48 +0900 |
---|---|---|
committer | Tom Rini | 2019-12-06 16:44:19 -0500 |
commit | 09030e0361cee79241c0d2c12fd6929de5b64b30 (patch) | |
tree | 11216902443ddd2c34fb5ebd235587f63fcd9ba7 /include/rtc.h | |
parent | 4839e86892a6f9f8bd2449f4c622639a1ca5ea62 (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>
Diffstat (limited to 'include/rtc.h')
-rw-r--r-- | include/rtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h index 7386d52db1d..8aabfc1162a 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 |