From b547dd9584da44010ea4a911e757328a89cd5fd1 Mon Sep 17 00:00:00 2001 From: Chuanhua Han Date: Mon, 22 Jul 2019 16:36:43 +0800 Subject: [PATCH] gpio: do not include on ARCH_LS2080A As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls2080a. Signed-off-by: Chuanhua Han Reviewed-by: Prabhakar Kushwaha --- arch/arm/include/asm/gpio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index b5adf5c816..8cc20e7312 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -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 #endif #include -- 2.39.5