From f7ae49fc4f363a803dab3be078e93ead8e75a8e9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:05 -0600 Subject: common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass --- include/common.h | 1 - include/efi_loader.h | 1 + include/i2c.h | 2 ++ include/initcall.h | 1 + include/spl.h | 1 + include/wait_bit.h | 4 +++- include/wdt.h | 1 + 7 files changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index d69cda339c6..b698e35fec1 100644 --- a/include/common.h +++ b/include/common.h @@ -28,7 +28,6 @@ #include #include #include -#include #include /* boot information for Linux kernel */ #include /* global data used for startup functions */ #include diff --git a/include/efi_loader.h b/include/efi_loader.h index 20f86c3a9fe..4b48f99773b 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -10,6 +10,7 @@ #include #include +#include #include #include #include diff --git a/include/i2c.h b/include/i2c.h index 059200115a8..1d792db454a 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -16,6 +16,8 @@ #ifndef _I2C_H_ #define _I2C_H_ +#include + /* * For now there are essentially two parts to this file - driver model * here at the top, and the older code below (with CONFIG_SYS_I2C being diff --git a/include/initcall.h b/include/initcall.h index c871767e20a..41b74dc52d2 100644 --- a/include/initcall.h +++ b/include/initcall.h @@ -8,6 +8,7 @@ typedef int (*init_fnc_t)(void); +#include #ifdef CONFIG_EFI_APP #include #endif diff --git a/include/spl.h b/include/spl.h index abd75c61cd5..b31c9bb4ab2 100644 --- a/include/spl.h +++ b/include/spl.h @@ -7,6 +7,7 @@ #define _SPL_H_ #include +#include /* Platform-specific defines */ #include diff --git a/include/wait_bit.h b/include/wait_bit.h index 79da0811fe2..dc2ffeb2c24 100644 --- a/include/wait_bit.h +++ b/include/wait_bit.h @@ -8,9 +8,11 @@ #ifndef __WAIT_BIT_H #define __WAIT_BIT_H -#include #include +#include +#include #include +#include #include #include diff --git a/include/wdt.h b/include/wdt.h index aea5abc7680..d2ccfbc62ef 100644 --- a/include/wdt.h +++ b/include/wdt.h @@ -7,6 +7,7 @@ #define _WDT_H_ #include +#include #include /* -- cgit v1.3.1