]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: Don't use relative include for config.h in global_data.h
authorTom Rini <trini@konsulko.com>
Thu, 3 Jun 2021 13:38:59 +0000 (09:38 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 23 Jun 2021 12:45:03 +0000 (08:45 -0400)
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 <mattmerhar@protonmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
arch/powerpc/include/asm/global_data.h

index 192a02d347e706991a5cd8bc72dcba8544bcbd32..90bf5a2aea5df571e0657ea3dff66972c6974339 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef        __ASM_GBL_DATA_H
 #define __ASM_GBL_DATA_H
 
-#include "config.h"
+#include <config.h>
 #include "asm/types.h"
 
 /* Architecture-specific global data */