summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-06-07 10:54:30 +0800
committerHans de Goede <hdegoede@redhat.com>2016-06-20 22:44:00 +0200
commit57c2a255725a033407835cc596158a153c255bc1 (patch)
tree93b9b5dd62eebd46cdda5600ffd79d728fbf8449 /arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h
parentd7d4e5ccd646538a735ea97b446a9453ab49cc17 (diff)
sunxi: Add missing linux/types.h header for cpucfg_sun6i.h
cpucfg_sun6i.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@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h b/arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h
index e2a29cb181..6885a972ce 100644
--- a/arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h
+++ b/arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h
@@ -9,6 +9,8 @@
#ifndef _SUNXI_CPUCFG_H
#define _SUNXI_CPUCFG_H
+#include <linux/types.h>
+
#ifndef __ASSEMBLY__
struct sunxi_cpucfg_reg {