projects
/
platform
/
kernel
/
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
7386d52
..
8aabfc1
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