瀏覽代碼

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 年之前
父節點
當前提交
f8facbe71e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>