aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rtc.h2
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