Prechádzať zdrojové kódy

gpio: do not include <asm/arch/gpio.h> for UniPhier

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>
Masahiro Yamada 9 rokov pred
rodič
commit
f8facbe71e
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      arch/arm/include/asm/gpio.h

+ 2 - 0
arch/arm/include/asm/gpio.h

@@ -1,2 +1,4 @@
+#ifndef CONFIG_ARCH_UNIPHIER
 #include <asm/arch/gpio.h>
+#endif
 #include <asm-generic/gpio.h>