linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/2] gpio/mxc: Move Freescale MXC gpio driver to drivers/gpio
Date: Mon, 6 Jun 2011 01:51:00 -0600	[thread overview]
Message-ID: <20110606075100.GC10410@ponder.secretlab.ca> (raw)
In-Reply-To: <1307290075-7062-2-git-send-email-shawn.guo@linaro.org>

On Mon, Jun 06, 2011 at 12:07:54AM +0800, Shawn Guo wrote:
> GPIO drivers are getting moved to drivers/gpio for cleanup and
> consolidation.  This patch moves the plat-mxc driver.  Follow up
> patches will clean it up and make it a fine upstanding gpio driver.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

Applied, thanks.

> ---
>  arch/arm/plat-mxc/Makefile                         |    2 +-
>  drivers/gpio/Kconfig                               |    4 ++++
>  drivers/gpio/Makefile                              |    1 +
>  .../arm/plat-mxc/gpio.c => drivers/gpio/gpio-mxc.c |    0
>  4 files changed, 6 insertions(+), 1 deletions(-)
>  rename arch/arm/plat-mxc/gpio.c => drivers/gpio/gpio-mxc.c (100%)
> 
> diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile
> index a138787..d53c35f 100644
> --- a/arch/arm/plat-mxc/Makefile
> +++ b/arch/arm/plat-mxc/Makefile
> @@ -3,7 +3,7 @@
>  #
>  
>  # Common support
> -obj-y := clock.o gpio.o time.o devices.o cpu.o system.o irq-common.o
> +obj-y := clock.o time.o devices.o cpu.o system.o irq-common.o
>  
>  # MX51 uses the TZIC interrupt controller, older platforms use AVIC
>  obj-$(CONFIG_MXC_TZIC) += tzic.o
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 18c0b31..5f00b41 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -93,6 +93,10 @@ config GPIO_EXYNOS4
>  	help
>  	  Say yes here to support Samsung Exynos4 series SoCs GPIO library
>  
> +config GPIO_MXC
> +	def_bool y
> +	depends on ARCH_MXC
> +
>  config GPIO_PLAT_SAMSUNG
>  	bool "Samsung SoCs GPIO library support"
>  	default y
> diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
> index 4ac7cb3..2fb0d00 100644
> --- a/drivers/gpio/Makefile
> +++ b/drivers/gpio/Makefile
> @@ -10,6 +10,7 @@ obj-$(CONFIG_GPIO_BASIC_MMIO_CORE)	+= basic_mmio_gpio.o
>  obj-$(CONFIG_GPIO_BASIC_MMIO)	+= basic_mmio_gpio.o
>  obj-$(CONFIG_GPIO_EXYNOS4)	+= gpio-exynos4.o
>  obj-$(CONFIG_GPIO_I801)		+= gpio-i801.o
> +obj-$(CONFIG_GPIO_MXC)		+= gpio-mxc.o
>  obj-$(CONFIG_GPIO_PLAT_SAMSUNG)	+= gpio-plat-samsung.o
>  obj-$(CONFIG_GPIO_S5PC100)	+= gpio-s5pc100.o
>  obj-$(CONFIG_GPIO_S5PV210)	+= gpio-s5pv210.o
> diff --git a/arch/arm/plat-mxc/gpio.c b/drivers/gpio/gpio-mxc.c
> similarity index 100%
> rename from arch/arm/plat-mxc/gpio.c
> rename to drivers/gpio/gpio-mxc.c
> -- 
> 1.7.4.1
> 

  reply	other threads:[~2011-06-06  7:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 16:07 [PATCH v4 0/2] Move plat-mxc gpio driver into drivers/gpio Shawn Guo
2011-06-05 16:07 ` [PATCH v4 1/2] gpio/mxc: Move Freescale MXC gpio driver to drivers/gpio Shawn Guo
2011-06-06  7:51   ` Grant Likely [this message]
2011-06-05 16:07 ` [PATCH v4 2/2] gpio/mxc: Change gpio-mxc into an upstanding gpio driver Shawn Guo
2011-06-06  7:52   ` Grant Likely
2011-06-06  8:12     ` Sascha Hauer
2011-06-06  8:18       ` Grant Likely
2011-06-06  8:47         ` Sascha Hauer
2011-06-06 16:03           ` Grant Likely
2011-06-06  8:50 ` [PATCH v4 0/2] Move plat-mxc gpio driver into drivers/gpio Sascha Hauer
2011-06-06 12:22   ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110606075100.GC10410@ponder.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).