mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 07:51:38 +00:00
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:
parent
4839e86892
commit
09030e0361
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
#ifdef CONFIG_DM_RTC
|
||||
|
||||
struct udevice;
|
||||
|
||||
struct rtc_ops {
|
||||
/**
|
||||
* get() - get the current time
|
||||
|
|
Loading…
Add table
Reference in a new issue