summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhua Han <chuanhua.han@nxp.com>2019-07-10 21:16:50 +0800
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-08-22 09:07:35 +0530
commitdcfb8f516d835e94ca8b93bc04b1dfa5481c7699 (patch)
tree9d78307f764bd91235652a36fa0ee81915d44ba7
parent954cd7882857c64158de8d90660f490b0b136b7a (diff)
downloadu-boot-dcfb8f516d835e94ca8b93bc04b1dfa5481c7699.tar.gz
u-boot-dcfb8f516d835e94ca8b93bc04b1dfa5481c7699.tar.xz
u-boot-dcfb8f516d835e94ca8b93bc04b1dfa5481c7699.zip
gpio: do not include <asm/arch/gpio.h> on ARCH_LS1028A
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include <asm/arch/gpio.h> for arch ls1028a. Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com> Reviewed-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-rw-r--r--arch/arm/include/asm/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index f78b976e10..b5adf5c816 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -1,7 +1,7 @@
#if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \
!defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858) && \
!defined(CONFIG_ARCH_BCM63158) && !defined(CONFIG_ARCH_ROCKCHIP) && \
- !defined(CONFIG_ARCH_LX2160A)
+ !defined(CONFIG_ARCH_LX2160A) && !defined(CONFIG_ARCH_LS1028A)
#include <asm/arch/gpio.h>
#endif
#include <asm-generic/gpio.h>