]> Pileus Git - ~andy/linux/commitdiff
h8300: Move gpio.h to gpio-internal.h
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Oct 2011 21:59:21 +0000 (23:59 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 26 Oct 2011 21:15:28 +0000 (23:15 +0200)
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>
arch/h8300/include/asm/gpio-internal.h [moved from arch/h8300/include/asm/gpio.h with 100% similarity]
arch/h8300/platform/h8300h/irq.c
arch/h8300/platform/h8s/irq.c

index e977345105d7d83707ad9d0557e5577368822885..bc4f51bceef5e3927682feba994c78dc16e98dc5 100644 (file)
@@ -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[] = {
index 8182f041f82956abb8be40d35a7fc5df0c952cfb..7b5f29febc0740a53d11ec410e892b813dee792a 100644 (file)
@@ -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 */