summaryrefslogtreecommitdiff
path: root/drivers/rtc/emul_rtc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:31:15 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:56 -0600
commit16a50b666d4aab6f1cb43b8d99a1d259ba04c753 (patch)
treea5a6aa01087b0cbece31b773d6eb7c0d691128ba /drivers/rtc/emul_rtc.c
parent174f184a84734a20a4d79a23912cc992dda1ce34 (diff)
downloadu-boot-16a50b666d4aab6f1cb43b8d99a1d259ba04c753.tar.gz
u-boot-16a50b666d4aab6f1cb43b8d99a1d259ba04c753.tar.bz2
u-boot-16a50b666d4aab6f1cb43b8d99a1d259ba04c753.zip
rtc: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/rtc/emul_rtc.c')
-rw-r--r--drivers/rtc/emul_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/emul_rtc.c b/drivers/rtc/emul_rtc.c
index 6f47d82522..97a8d9bb7d 100644
--- a/drivers/rtc/emul_rtc.c
+++ b/drivers/rtc/emul_rtc.c
@@ -5,11 +5,11 @@
* This driver emulates a real time clock based on timer ticks.
*/
-#include <common.h>
#include <div64.h>
#include <dm.h>
#include <env.h>
#include <rtc.h>
+#include <time.h>
#include <timestamp.h>
/**