gpio: do not include <asm/arch/gpio.h> on ARCH_LS1028A
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 10 Jul 2019 13:16:50 +0000 (21:16 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +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 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>
arch/arm/include/asm/gpio.h

index f78b976e105af56d70078d46d57b52e6ec889cae..b5adf5c81645f9bbec29e7505051dacd3a837586 100644 (file)
@@ -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>