diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | c05ed00afb95fa5237f16962fccf5810437317bf (patch) | |
tree | 19bb43dd3c7d12205fffb104db7c799d0a37af9f /lib | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) | |
download | u-boot-c05ed00afb95fa5237f16962fccf5810437317bf.tar.gz |
common: Drop linux/delay.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/panic.c | 1 | ||||
-rw-r--r-- | lib/time.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/panic.c b/lib/panic.c index 8e72c265a6..58382ac4f4 100644 --- a/lib/panic.c +++ b/lib/panic.c @@ -14,6 +14,7 @@ #if !defined(CONFIG_PANIC_HANG) #include <command.h> #endif +#include <linux/delay.h> static void panic_finish(void) __attribute__ ((noreturn)); diff --git a/lib/time.c b/lib/time.c index 551698e36d..65db0f6cda 100644 --- a/lib/time.c +++ b/lib/time.c @@ -14,6 +14,7 @@ #include <watchdog.h> #include <div64.h> #include <asm/io.h> +#include <linux/delay.h> #ifndef CONFIG_WD_PERIOD # define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ |