浏览代码

h8300: Move gpio.h to gpio-internal.h

The current h8300 GPIO implementation doesn't provide the standard GPIO
API, and in fact provides only direction control rather than normal GPIO
functionality. Currently this is only used by the platform interrupt
implementation rather than by a range of drivers so in preparation for
moving over to gpiolib move the header out of the way of the gpiolib
header, allowing a default GPIO implementation to be provided.

For actual use of these GPIOs with gpiolib a real driver would still need
to be written but there appears to be no current need for this.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Mark Brown 13 年之前
父节点
当前提交
d92ef29a6f
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 0 0
      arch/h8300/include/asm/gpio-internal.h
  2. 1 1
      arch/h8300/platform/h8300h/irq.c
  3. 1 1
      arch/h8300/platform/h8s/irq.c

+ 0 - 0
arch/h8300/include/asm/gpio.h → arch/h8300/include/asm/gpio-internal.h


+ 1 - 1
arch/h8300/platform/h8300h/irq.c

@@ -11,7 +11,7 @@
 #include <asm/traps.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/gpio.h>
+#include <asm/gpio-internal.h>
 #include <asm/regs306x.h>
 
 const int __initdata h8300_saved_vectors[] = {

+ 1 - 1
arch/h8300/platform/h8s/irq.c

@@ -14,7 +14,7 @@
 #include <asm/traps.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/gpio.h>
+#include <asm/gpio-internal.h>
 #include <asm/regs267x.h>
 
 /* saved vector list */