aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHarm Berntsen <harm.berntsen@nedap.com>2020-10-30 08:45:15 +0000
committerTom Rini <trini@konsulko.com>2021-01-18 15:14:15 -0500
commit30569b47dbc496f1de38932b3970e6d2ae52ca10 (patch)
tree4cb31b52b1770c5f2048e589692d97b0607a1308 /arch
parentc9d7e79f02ef8184ab854fef5decc2f100447cef (diff)
downloadu-boot-30569b47dbc496f1de38932b3970e6d2ae52ca10.zip
u-boot-30569b47dbc496f1de38932b3970e6d2ae52ca10.tar.gz
u-boot-30569b47dbc496f1de38932b3970e6d2ae52ca10.tar.bz2
gpio: do not include <asm/arch/gpio.h> on ARCH_QEMU
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include <asm/arch/gpio.h> for QEMU. Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/gpio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 6ecb876..7609367 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -3,7 +3,8 @@
!defined(CONFIG_ARCH_BCM6858) && !defined(CONFIG_ARCH_BCM63158) && \
!defined(CONFIG_ARCH_ROCKCHIP) && !defined(CONFIG_ARCH_ASPEED) && \
!defined(CONFIG_ARCH_U8500) && !defined(CONFIG_CORTINA_PLATFORM) && \
- !defined(CONFIG_TARGET_BCMNS3) && !defined(CONFIG_TARGET_TOTAL_COMPUTE)
+ !defined(CONFIG_TARGET_BCMNS3) && !defined(CONFIG_TARGET_TOTAL_COMPUTE) && \
+ !defined(CONFIG_ARCH_QEMU)
#include <asm/arch/gpio.h>
#endif
#include <asm-generic/gpio.h>