summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 09:44:48 +0900
committerTom Rini <trini@konsulko.com>2019-12-06 16:44:19 -0500
commit09030e0361cee79241c0d2c12fd6929de5b64b30 (patch)
tree11216902443ddd2c34fb5ebd235587f63fcd9ba7 /include
parent4839e86892a6f9f8bd2449f4c622639a1ca5ea62 (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')
-rw-r--r--include/rtc.h2
1 files changed, 2 insertions, 0 deletions
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