diff mbox series

[2/6] gpio: do not include <asm/arch/gpio.h> on ARCH_BCM6750

Message ID 1583511901-10930-2-git-send-email-philippe.reynes@softathome.com
State New
Headers show
Series [1/6] bcm6750: add initial support | expand

Commit Message

Philippe REYNES March 6, 2020, 4:24 p.m. UTC
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include <asm/arch/gpio.h> for
arch bcm6750.

Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
 arch/arm/include/asm/gpio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 84e5cb4..cc178eb 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -5,7 +5,7 @@ 
 	!defined(CONFIG_ARCH_LS1028A) && !defined(CONFIG_ARCH_LS2080A) && \
 	!defined(CONFIG_ARCH_LS1088A) && !defined(CONFIG_ARCH_ASPEED) && \
 	!defined(CONFIG_ARCH_LS1012A) && !defined(CONFIG_ARCH_U8500) && \
-	!defined(CONFIG_CORTINA_PLATFORM)
+	!defined(CONFIG_CORTINA_PLATFORM) && !defined(CONFIG_ARCH_BCM6750)
 #include <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>