]> git.sur5r.net Git - u-boot/commitdiff
gpio: do not include <asm/arch/gpio.h> for UniPhier
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Feb 2016 08:03:49 +0000 (17:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:15 +0000 (03:50 +0900)
I implemented a GPIO driver based on Driver Model for the UniPhier
SoC family, but I could not find any good reason why such SoC
specific GPIO headers are needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/gpio.h

index d49ad080e2c30da6beb4e7e42c509c5bdd375463..fe4419cae4cfe8950dc3797e7071bf7de7eb4a43 100644 (file)
@@ -1,2 +1,4 @@
+#ifndef CONFIG_ARCH_UNIPHIER
 #include <asm/arch/gpio.h>
+#endif
 #include <asm-generic/gpio.h>