From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186Ab1JYFzz (ORCPT ); Tue, 25 Oct 2011 01:55:55 -0400 Received: from mail2.asahi-net.or.jp ([202.224.39.198]:29114 "EHLO mail2.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522Ab1JYFzy (ORCPT ); Tue, 25 Oct 2011 01:55:54 -0400 Date: Tue, 25 Oct 2011 14:55:51 +0900 Message-ID: <87sjmhr4wo.wl%ysato@users.sourceforge.jp> From: Yoshinori Sato To: Mark Brown Cc: Grant Likely , linux-kernel@vger.kernel.org Subject: Re: [PATCH] h8300: Move gpio.h to gpio-internal.h In-Reply-To: <1319493561-4094-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1319493561-4094-1-git-send-email-broonie@opensource.wolfsonmicro.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 24 Oct 2011 23:59:21 +0200, Mark Brown wrote: > > 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 Acked-by: Yoshinori Sato I will moving generic GPIO. > --- > > It might be best to merge this via the gpiolib tree, partly because > there appears to be little other activity on h8300 right now and partly > to allow further refactoring. > > arch/h8300/include/asm/{gpio.h => gpio-internal.h} | 0 > arch/h8300/platform/h8300h/irq.c | 2 +- > arch/h8300/platform/h8s/irq.c | 2 +- > 3 files changed, 2 insertions(+), 2 deletions(-) > rename arch/h8300/include/asm/{gpio.h => gpio-internal.h} (100%) > > 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 */ > -- > 1.7.6.3 >