Re: [PATCH 14/19] plat-pxa: move PXA GPIO driver to GPIO subsystem

From: Eric Miao
Date: Wed Aug 10 2011 - 10:36:42 EST


On Wed, Aug 10, 2011 at 8:18 PM, Linus Walleij
<linus.walleij@xxxxxxxxxxxxxx> wrote:
> From: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> As per example from the other ARM boards, push the PXA
> GPIO driver down to the GPIO subsystem so it can be consolidated.
>
> Cc: Eric Miao <eric.y.miao@xxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

This one looks OK.

> ---
> Âarch/arm/plat-pxa/Makefile             |  Â1 -
> Âdrivers/gpio/Makefile               Â|  Â1 +
> Â.../arm/plat-pxa/gpio.c => drivers/gpio/gpio-pxa.c | Â Â0
> Â3 files changed, 1 insertions(+), 1 deletions(-)
> Ârename arch/arm/plat-pxa/gpio.c => drivers/gpio/gpio-pxa.c (100%)
>
> diff --git a/arch/arm/plat-pxa/Makefile b/arch/arm/plat-pxa/Makefile
> index 3aca5ba..f302d04 100644
> --- a/arch/arm/plat-pxa/Makefile
> +++ b/arch/arm/plat-pxa/Makefile
> @@ -4,7 +4,6 @@
>
> Âobj-y Â:= dma.o
>
> -obj-$(CONFIG_GENERIC_GPIO) Â Â += gpio.o
> Âobj-$(CONFIG_PXA3xx) Â Â Â Â Â += mfp.o
> Âobj-$(CONFIG_PXA95x) Â Â Â Â Â += mfp.o
> Âobj-$(CONFIG_ARCH_MMP) Â Â Â Â += mfp.o
> diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
> index 33e095bd..6640e1d 100644
> --- a/drivers/gpio/Makefile
> +++ b/drivers/gpio/Makefile
> @@ -40,6 +40,7 @@ obj-$(CONFIG_GPIO_PCA953X) Â Â+= gpio-pca953x.o
> Âobj-$(CONFIG_GPIO_PCF857X) Â Â += gpio-pcf857x.o
> Âobj-$(CONFIG_GPIO_PCH) Â Â Â Â += gpio-pch.o
> Âobj-$(CONFIG_GPIO_PL061) Â Â Â += gpio-pl061.o
> +obj-$(CONFIG_PLAT_PXA) Â Â Â Â += gpio-pxa.o
> Âobj-$(CONFIG_GPIO_RDC321X) Â Â += gpio-rdc321x.o
>
> Âobj-$(CONFIG_GPIO_PLAT_SAMSUNG) Â Â Â Â+= gpio-plat-samsung.o
> diff --git a/arch/arm/plat-pxa/gpio.c b/drivers/gpio/gpio-pxa.c
> similarity index 100%
> rename from arch/arm/plat-pxa/gpio.c
> rename to drivers/gpio/gpio-pxa.c
> --
> 1.7.3.2
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/