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

Sean Anderson seanga2 at gmail.com
Wed Dec 18 03:22:42 CET 2019


asm-generic/sections.h references ulong but does not include
linux/types.h

Signed-off-by: Sean Anderson <seanga2 at 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[];
-- 
2.23.0



More information about the U-Boot mailing list