From: Lokesh Vutla Date: Mon, 27 Aug 2018 10:27:55 +0000 (+0530) Subject: gpio: do not include for ARCH_K3 X-Git-Tag: v2018.11-rc1~156 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3980b16137341930ce4116225d42e35a996479c7;p=oweals%2Fu-boot.git gpio: do not include for ARCH_K3 As no gpio.h is defined in arch/arm/mach-k3/include/, to avoid compilation failure, do not include asm/arch/gpio.h. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index 1c5e87340c..3039e66bf9 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -1,4 +1,5 @@ -#if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) +#if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \ + !defined(CONFIG_ARCH_K3) #include #endif #include