[PATCH 2/6] gpio: do not include <asm/arch/gpio.h> on ARCH_BCM6750
Philippe Reynes
philippe.reynes at softathome.com
Fri Mar 6 17:24:57 CET 2020
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 --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>
--
2.7.4
More information about the U-Boot
mailing list