diff mbox series

[U-Boot,v3,02/16] rtc.h: add struct udevice declaration

Message ID 20191113004502.29986-3-takahiro.akashi@linaro.org
State Accepted
Commit 09030e0361cee79241c0d2c12fd6929de5b64b30
Delegated to: Tom Rini
Headers show
Series import x509/pkcs7 parsers from linux | expand

Commit Message

Takahiro Akashi Nov. 13, 2019, 12:44 a.m. UTC
Without this change, including rtc.h solely will cause a build error.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 include/rtc.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini Dec. 6, 2019, 9:48 p.m. UTC | #1
On Wed, Nov 13, 2019 at 09:44:48AM +0900, AKASHI Takahiro wrote:

> Without this change, including rtc.h solely will cause a build error.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/rtc.h b/include/rtc.h
index 7386d52db1d7..8aabfc1162a4 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