[PATCH] Include missing headers for asm-generic/sections.h

asm-generic/sections.h references ulong but does not include linux/types.h
Signed-off-by: Sean Anderson seanga2@gmail.com --- include/asm-generic/sections.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 296c0cf9b8..17a31ec788 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h @@ -8,6 +8,8 @@ #ifndef _ASM_GENERIC_SECTIONS_H_ #define _ASM_GENERIC_SECTIONS_H_
+#include <linux/types.h> + /* References to section boundaries */
extern char _text[], _stext[], _etext[];

On Tue, Dec 17, 2019 at 09:22:42PM -0500, Sean Anderson wrote:
asm-generic/sections.h references ulong but does not include linux/types.h
Signed-off-by: Sean Anderson seanga2@gmail.com
Applied to u-boot/master, thanks!
participants (2)
-
Sean Anderson
-
Tom Rini