aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/soc/mmp/cputype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/soc/mmp/cputype.h')
-rw-r--r--include/linux/soc/mmp/cputype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/soc/mmp/cputype.h b/include/linux/soc/mmp/cputype.h
index c3ec88983e94..221790761e8e 100644
--- a/include/linux/soc/mmp/cputype.h
+++ b/include/linux/soc/mmp/cputype.h
@@ -2,7 +2,9 @@
#ifndef __ASM_MACH_CPUTYPE_H
#define __ASM_MACH_CPUTYPE_H
+#if defined(CONFIG_ARM) || defined(CONFIG_ARM64)
#include <asm/cputype.h>
+#endif
/*
* CPU Stepping CPU_ID CHIP_ID