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>
This commit is contained in:
AKASHI Takahiro
2019-12-06 16:44:19 -05:00
committed by Tom Rini
parent 4839e86892
commit 09030e0361
+2
View File
@@ -18,6 +18,8 @@
#ifdef CONFIG_DM_RTC
struct udevice;
struct rtc_ops {
/**
* get() - get the current time