gpio: do not include <asm/arch/gpio.h> on ARCH_BCM6858
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 7 Mar 2019 10:36:36 +0000 (11:36 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 12 Apr 2019 15:32:51 +0000 (17:32 +0200)
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include <asm/arch/gpio.h> for
arch bcm6858.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/include/asm/gpio.h

index 3039e66bf9f2250117d075667a3f3dea5f108607..15bd40f4053a007dad4c118e722c04909c23e2e1 100644 (file)
@@ -1,5 +1,5 @@
 #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \
-       !defined(CONFIG_ARCH_K3)
+       !defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858)
 #include <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>