diff mbox series

[U-Boot,11/14] gpio: do not include <asm/arch/gpio.h> on ARCH_BCM63158

Message ID 1551955004-24611-11-git-send-email-philippe.reynes@softathome.com
State Accepted
Commit 26291285725e0c22f7d9c876b5ad36210e77a886
Delegated to: Daniel Schwierzeck
Headers show
Series [U-Boot,01/14] gpio: bcm6345: switch to raw I/O functions | expand

Commit Message

Philippe REYNES March 7, 2019, 10:36 a.m. UTC
As no gpio.h is defined for this architecture, to avoid
a compilation failure, do not include <asm/arch/gpio.h>
for arch bcm63158.

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

Patch

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 15bd40f..992a841 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -1,5 +1,6 @@ 
 #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \
-	!defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858)
+	!defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858) && \
+	!defined(CONFIG_ARCH_BCM63158)
 #include <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>