]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: do not include <asm/arch/gpio.h> on ARCH_LS2080A
authorChuanhua Han <chuanhua.han@nxp.com>
Mon, 22 Jul 2019 08:36:43 +0000 (16:36 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include <asm/arch/gpio.h> for
arch ls2080a.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/include/asm/gpio.h

index b5adf5c81645f9bbec29e7505051dacd3a837586..8cc20e73121329127cc54b7d199686c299756e0a 100644 (file)
@@ -1,7 +1,8 @@
 #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_LS1028A)
+       !defined(CONFIG_ARCH_LX2160A) && !defined(CONFIG_ARCH_LS1028A) && \
+       !defined(CONFIG_ARCH_LS2080A)
 #include <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>