From: Mark Brown Date: Mon, 24 Oct 2011 21:59:21 +0000 (+0200) Subject: h8300: Move gpio.h to gpio-internal.h X-Git-Tag: v3.2-rc2~4^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d92ef29a6fa971d9e314e412cd9c09757906411a;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Grant Likely --- diff --git a/arch/h8300/include/asm/gpio.h b/arch/h8300/include/asm/gpio-internal.h similarity index 100% rename from arch/h8300/include/asm/gpio.h rename to arch/h8300/include/asm/gpio-internal.h diff --git a/arch/h8300/platform/h8300h/irq.c b/arch/h8300/platform/h8300h/irq.c index e977345..bc4f51b 100644 --- a/arch/h8300/platform/h8300h/irq.c +++ b/arch/h8300/platform/h8300h/irq.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include const int __initdata h8300_saved_vectors[] = { diff --git a/arch/h8300/platform/h8s/irq.c b/arch/h8300/platform/h8s/irq.c index 8182f04..7b5f29f 100644 --- a/arch/h8300/platform/h8s/irq.c +++ b/arch/h8300/platform/h8s/irq.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include /* saved vector list */