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] gpio: ep93xx: move driver to drivers/gpio
Date: Tue, 31 May 2011 14:40:45 -0600	[thread overview]
Message-ID: <BANLkTimzWyhZ14ieo0SUfsn8SKp9cM_EBw@mail.gmail.com> (raw)
In-Reply-To: <201105311249.30372.hartleys@visionengravers.com>

On Tue, May 31, 2011 at 1:49 PM, H Hartley Sweeten
<hartleys@visionengravers.com> wrote:
> The GPIO driver should reside in drivers/gpio.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Ryan Mallon <ryan@bluewatersys.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
>
> ---
>
> diff --git a/arch/arm/mach-ep93xx/Makefile b/arch/arm/mach-ep93xx/Makefile
> index 33ee2c8..6b7c41d 100644
> --- a/arch/arm/mach-ep93xx/Makefile
> +++ b/arch/arm/mach-ep93xx/Makefile
> @@ -1,7 +1,7 @@
> ?#
> ?# Makefile for the linux kernel.
> ?#
> -obj-y ? ? ? ? ? ? ? ? ?:= core.o clock.o dma-m2p.o gpio.o
> +obj-y ? ? ? ? ? ? ? ? ?:= core.o clock.o dma-m2p.o
> ?obj-m ? ? ? ? ? ? ? ? ?:=
> ?obj-n ? ? ? ? ? ? ? ? ?:=
> ?obj- ? ? ? ? ? ? ? ? ? :=
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 342d634..7307302 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -86,6 +86,13 @@ config GPIO_IT8761E
> ? ? ? ?help
> ? ? ? ? ?Say yes here to support GPIO functionality of IT8761E super I/O chip.
>
> +config GPIO_EP93XX
> + ? ? ? bool "Cirrus EP93xx GPIO support"
> + ? ? ? depends on ARCH_EP93XX
> + ? ? ? default y
> + ? ? ? help
> + ? ? ? ? Say yes here to support the Cirrus EP93xx GPIO peripheral.
> +

Do you really want a user-visible Kconfig symbol here?  If it cannot
be built as a module, then I suspect that for most on-chip gpio
controllers they should just be enabled unconditionally on the SoC's
Kconfig symbol.

g.

  reply	other threads:[~2011-05-31 20:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31 19:49 [PATCH] gpio: ep93xx: move driver to drivers/gpio H Hartley Sweeten
2011-05-31 20:40 ` Grant Likely [this message]
2011-05-31 22:37   ` H Hartley Sweeten
2011-05-31 23:28     ` Grant Likely
2011-06-01  8:26       ` Russell King - ARM Linux
2011-06-01 16:46         ` Grant Likely
2011-06-01 17:24           ` H Hartley Sweeten
2011-06-02  2:44             ` Kyungmin Park
2011-06-02 16:55               ` H Hartley Sweeten

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=BANLkTimzWyhZ14ieo0SUfsn8SKp9cM_EBw@mail.gmail.com \
    --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).