[U-Boot] [PATCH 07/10] sunxi: Add missing linux/types.h header for cpucfg.h
Chen-Yu Tsai
wens at csie.org
Mon May 23 14:41:43 CEST 2016
cpucfg.h includes a register definition for the CPUCFG register block.
The types used are u32 and u8, which are defined in linux/types.h.
Signed-off-by: Chen-Yu Tsai <wens at csie.org>
---
arch/arm/include/asm/arch-sunxi/cpucfg.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/cpucfg.h b/arch/arm/include/asm/arch-sunxi/cpucfg.h
index b9084b3968cd..fc42035d70be 100644
--- a/arch/arm/include/asm/arch-sunxi/cpucfg.h
+++ b/arch/arm/include/asm/arch-sunxi/cpucfg.h
@@ -9,6 +9,8 @@
#ifndef _SUNXI_CPUCFG_H
#define _SUNXI_CPUCFG_H
+#include <linux/types.h>
+
#ifndef __ASSEMBLY__
struct sunxi_cpucfg_cpu {
--
2.8.1
More information about the U-Boot
mailing list