projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4839e86
)
rtc.h: add struct udevice declaration
author
AKASHI Takahiro
<takahiro.akashi@linaro.org>
Wed, 13 Nov 2019 00:44:48 +0000
(09:44 +0900)
committer
Tom Rini
<trini@konsulko.com>
Fri, 6 Dec 2019 21:44:19 +0000
(16:44 -0500)
Without this change, including rtc.h solely will cause a build error.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
include/rtc.h
patch
|
blob
|
history
diff --git
a/include/rtc.h
b/include/rtc.h
index 7386d52db1d70d5a133beb2977898e0e172ebb4a..8aabfc1162a47a304efa53993cbffbd8a91ad0f0 100644
(file)
--- 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