In include/efi_loader.h we do not directly need <log.h>, <part_efi.h>, <pe.h> nor <linux/oid_registry.h> so remove them. In include/efi_tcg2.h we make use of <part_efi.h> but did not include it, so add it directly.
Signed-off-by: Tom Rini <[email protected]> --- Cc: Heinrich Schuchardt <[email protected]> Cc: Ilias Apalodimas <[email protected]> --- include/efi_loader.h | 4 ---- include/efi_tcg2.h | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index 84e8cfe320e2..f3c85ae8d663 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -10,15 +10,11 @@ #include <blk.h> #include <event.h> -#include <log.h> -#include <part_efi.h> #include <efi_api.h> #include <image.h> -#include <pe.h> #include <setjmp.h> #include <linux/list.h> #include <linux/sizes.h> -#include <linux/oid_registry.h> struct blk_desc; struct bootflow; diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h index 7ed88809913b..34a3d4a04346 100644 --- a/include/efi_tcg2.h +++ b/include/efi_tcg2.h @@ -17,6 +17,7 @@ #define _EFI_TCG2_PROTOCOL_H_ #include <efi_api.h> +#include <part_efi.h> #include <tpm-v2.h> #include <tpm_tcg2.h> -- 2.43.0

