From: Tom Rini Date: Thu, 3 Jun 2021 13:38:59 +0000 (-0400) Subject: powerpc: Don't use relative include for config.h in global_data.h X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=8b95deafc511b56a73b8565f411a49d98755c957;p=u-boot.git powerpc: Don't use relative include for config.h in global_data.h As there is an arch/powerpc/include/asm/config.h file using "" to get config.h here can lead to using that rather than include/config.h. This in turn can lead to a mismatch in the size of gd. Cc: Matt Merhar Signed-off-by: Tom Rini Tested-by: Matt Merhar --- diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h index 192a02d347..90bf5a2aea 100644 --- a/arch/powerpc/include/asm/global_data.h +++ b/arch/powerpc/include/asm/global_data.h @@ -8,7 +8,7 @@ #ifndef __ASM_GBL_DATA_H #define __ASM_GBL_DATA_H -#include "config.h" +#include #include "asm/types.h" /* Architecture-specific global data */