summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJason Li <jason.li@cortina-access.com>2020-01-30 12:34:55 -0800
committerTom Rini <trini@konsulko.com>2020-02-07 14:01:21 -0500
commitf267f84b93d026cfcce77fc3f9eba4c57d4ad0e0 (patch)
tree1010f4e40fe692a3af471e0d75a405d49d928cfe /arch
parent800775eb499ef61276487bfcd8500524ce9e3ed0 (diff)
gpio: do not include <asm/arch/gpio.h> for Cortina CAxxxx SoCs
The Cortina CAxxxx GPIO driver maintains DM_GPIO support across different CPU ISA in the CAxxxx Soc Family; Not just ARM. Therefore, it is not desirable to split out and maintain separete gpio header file for each CPU architecture. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Jason Li <jason.li@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 39ffc18e29..84e5cb46e5 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -4,8 +4,8 @@
!defined(CONFIG_ARCH_ROCKCHIP) && !defined(CONFIG_ARCH_LX2160A) && \
!defined(CONFIG_ARCH_LS1028A) && !defined(CONFIG_ARCH_LS2080A) && \
!defined(CONFIG_ARCH_LS1088A) && !defined(CONFIG_ARCH_ASPEED) && \
- !defined(CONFIG_ARCH_LS1012A) && \
- !defined(CONFIG_ARCH_U8500)
+ !defined(CONFIG_ARCH_LS1012A) && !defined(CONFIG_ARCH_U8500) && \
+ !defined(CONFIG_CORTINA_PLATFORM)
#include <asm/arch/gpio.h>
#endif
#include <asm-generic/gpio.h>