mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexandre Courbot <acourbot@nvidia.com>
To: Grant Likely <grant.likely@secretlab.ca>,
	Linus Walleij <linus.walleij@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Russell King <linux@arm.linux.org.uk>,
	Haavard Skinnemoen <hskinnemoen@gmail.com>,
	Hans-Christian Egtvedt <egtvedt@samfundet.no>,
	Mike Frysinger <vapier@gentoo.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	Jonas Bonn <jonas@southpole.se>, Josh Boyer <jwboyer@gmail.com>,
	Matt Porter <mporter@kernel.crashing.org>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Kumar Gala <galak@kernel.crashing.org>,
	Vitaly Bordug <vitb@kernel.crashing.org>,
	Marcelo Tosatti <marcelo@kvack.org>,
	Paul Mundt <lethal@linux-sh.org>,
	Guan Xuetao <gxt@mprc.pku.edu.cn>,
	Chris Zankel <chris@zankel.net>,
	Max Filippov <jcmvbkbc@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>,
	<linux-kernel@vger.kernel.org>,
	Alexandre Courbot <acourbot@nvidia.com>
Subject: [RFC 09/17] sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
Date: Tue, 12 Mar 2013 19:12:22 +0900	[thread overview]
Message-ID: <1363083150-30964-10-git-send-email-acourbot@nvidia.com> (raw)
In-Reply-To: <1363083150-30964-1-git-send-email-acourbot@nvidia.com>

SH GPIO drivers all use gpiolib and CONFIG_GENERIC_GPIO is only selected
through CONFIG_GPIOLIB, yet some compilation units depended on
CONFIG_GENERIC_GPIO. Make them depend on CONFIG_GPIOLIB instead since it
is more accurate and prepares us for the future removal of
CONFIG_GENERIC_GPIO.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
 arch/sh/boards/mach-sdk7786/Makefile | 2 +-
 arch/sh/boards/mach-x3proto/Makefile | 2 +-
 arch/sh/kernel/cpu/sh2a/Makefile     | 2 +-
 arch/sh/kernel/cpu/sh3/Makefile      | 2 +-
 arch/sh/kernel/cpu/sh4a/Makefile     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/sh/boards/mach-sdk7786/Makefile b/arch/sh/boards/mach-sdk7786/Makefile
index 8ae56e9..45d32e3 100644
--- a/arch/sh/boards/mach-sdk7786/Makefile
+++ b/arch/sh/boards/mach-sdk7786/Makefile
@@ -1,4 +1,4 @@
 obj-y	:= fpga.o irq.o nmi.o setup.o
 
-obj-$(CONFIG_GENERIC_GPIO)	+= gpio.o
+obj-$(CONFIG_GPIOLIB)		+= gpio.o
 obj-$(CONFIG_HAVE_SRAM_POOL)	+= sram.o
diff --git a/arch/sh/boards/mach-x3proto/Makefile b/arch/sh/boards/mach-x3proto/Makefile
index 708c21c..0cbe3d0 100644
--- a/arch/sh/boards/mach-x3proto/Makefile
+++ b/arch/sh/boards/mach-x3proto/Makefile
@@ -1,3 +1,3 @@
 obj-y += setup.o ilsel.o
 
-obj-$(CONFIG_GENERIC_GPIO)	+= gpio.o
+obj-$(CONFIG_GPIOLIB)		+= gpio.o
diff --git a/arch/sh/kernel/cpu/sh2a/Makefile b/arch/sh/kernel/cpu/sh2a/Makefile
index 130984c..92f0da4 100644
--- a/arch/sh/kernel/cpu/sh2a/Makefile
+++ b/arch/sh/kernel/cpu/sh2a/Makefile
@@ -21,5 +21,5 @@ pinmux-$(CONFIG_CPU_SUBTYPE_SH7203)	:= pinmux-sh7203.o
 pinmux-$(CONFIG_CPU_SUBTYPE_SH7264)	:= pinmux-sh7264.o
 pinmux-$(CONFIG_CPU_SUBTYPE_SH7269)	:= pinmux-sh7269.o
 
-obj-$(CONFIG_GENERIC_GPIO)		+= $(pinmux-y)
+obj-$(CONFIG_GPIOLIB)			+= $(pinmux-y)
 obj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= ubc.o
diff --git a/arch/sh/kernel/cpu/sh3/Makefile b/arch/sh/kernel/cpu/sh3/Makefile
index 6f13f33..d3634ae 100644
--- a/arch/sh/kernel/cpu/sh3/Makefile
+++ b/arch/sh/kernel/cpu/sh3/Makefile
@@ -30,4 +30,4 @@ clock-$(CONFIG_CPU_SUBTYPE_SH7712)	:= clock-sh7712.o
 pinmux-$(CONFIG_CPU_SUBTYPE_SH7720)	:= pinmux-sh7720.o
 
 obj-y	+= $(clock-y)
-obj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
+obj-$(CONFIG_GPIOLIB)			+= $(pinmux-y)
diff --git a/arch/sh/kernel/cpu/sh4a/Makefile b/arch/sh/kernel/cpu/sh4a/Makefile
index 8fc6ec2..0705df7 100644
--- a/arch/sh/kernel/cpu/sh4a/Makefile
+++ b/arch/sh/kernel/cpu/sh4a/Makefile
@@ -47,6 +47,6 @@ pinmux-$(CONFIG_CPU_SUBTYPE_SHX3)	:= pinmux-shx3.o
 
 obj-y					+= $(clock-y)
 obj-$(CONFIG_SMP)			+= $(smp-y)
-obj-$(CONFIG_GENERIC_GPIO)		+= $(pinmux-y)
+obj-$(CONFIG_GPIOLIB)			+= $(pinmux-y)
 obj-$(CONFIG_PERF_EVENTS)		+= perf_event.o
 obj-$(CONFIG_HAVE_HW_BREAKPOINT)	+= ubc.o
-- 
1.8.1.5


  parent reply	other threads:[~2013-03-12 10:14 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 10:12 [RFC 00/17] Remove GENERIC_GPIO from architecture code Alexandre Courbot
2013-03-12 10:12 ` [RFC 01/17] arm: remove unneeded select GENERIC_GPIO Alexandre Courbot
2013-03-12 10:12 ` [RFC 02/17] arm: remove redundant GENERIC_GPIO selection Alexandre Courbot
2013-03-12 10:12 ` [RFC 03/17] arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB Alexandre Courbot
2013-03-12 10:12 ` [RFC 04/17] mips: remove redundant GENERIC_GPIO select Alexandre Courbot
2013-03-12 10:12 ` [RFC 05/17] mips: loongson: use GPIO driver on CONFIG_GPIOLIB Alexandre Courbot
2013-03-12 10:12 ` [RFC 06/17] mips: txx9: change GENERIC_GPIO to GPIOLIB Alexandre Courbot
2013-03-12 10:12 ` [RFC 07/17] unicore32: remove unneeded select GENERIC_GPIO Alexandre Courbot
2013-03-12 10:12 ` [RFC 08/17] powerpc: remove redundant GENERIC_GPIO selection Alexandre Courbot
2013-03-12 10:12 ` Alexandre Courbot [this message]
2013-03-12 10:35   ` [RFC 09/17] sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB Paul Mundt
2013-03-12 10:43     ` Alex Courbot
2013-03-12 10:52       ` Paul Mundt
2013-03-12 10:12 ` [RFC 10/17] xtensa: remove explicit selection of GENERIC_GPIO Alexandre Courbot
2013-03-12 10:12 ` [RFC 11/17] mips: alchemy: require gpiolib Alexandre Courbot
2013-03-12 10:12 ` [RFC 12/17] mips: pnx833x: remove requirement for GENERIC_GPIO Alexandre Courbot
2013-03-12 10:12 ` [RFC 13/17] avr32: default GENERIC_GPIO to false Alexandre Courbot
2013-03-12 10:12 ` [RFC 14/17] m68k: coldfire: use gpiolib Alexandre Courbot
2013-03-12 10:12 ` [RFC 15/17] avr32: default GENERIC_GPIO to false Alexandre Courbot
2013-03-12 12:55   ` Hans-Christian Egtvedt
2013-03-12 13:23     ` Alexandre Courbot
2013-03-12 10:12 ` [RFC 16/17] openrisc: " Alexandre Courbot
2013-03-13  5:53   ` Jonas Bonn
2013-03-12 10:12 ` [RFC 17/17] unicore32: " Alexandre Courbot
2013-03-12 11:18   ` Arnd Bergmann
     [not found]     ` <CAAVeFuLJ0VvdOkqyNaVCbFHE-x==OYFC_=HEF2YLqaK6mM+rBw@mail.gmail.com>
2013-03-12 12:10       ` Arnd Bergmann
2013-03-12 13:30     ` Alexandre Courbot
2013-03-12 13:57       ` Arnd Bergmann
2013-03-12 11:23 ` [RFC 00/17] Remove GENERIC_GPIO from architecture code Arnd Bergmann
2013-03-12 13:44   ` Alexandre Courbot
2013-03-13  5:12 ` Linus Walleij
2013-03-13  7:53   ` Grant Likely
2013-03-13 18:01     ` Linus Walleij
2013-03-14 14:08       ` Alexandre Courbot
2013-03-14 14:14         ` Linus Walleij
2013-03-14 14:23           ` Alexandre Courbot
2013-03-14 15:50             ` Arnd Bergmann

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=1363083150-30964-10-git-send-email-acourbot@nvidia.com \
    --to=acourbot@nvidia.com \
    --cc=arnd@arndb.de \
    --cc=benh@kernel.crashing.org \
    --cc=chris@zankel.net \
    --cc=egtvedt@samfundet.no \
    --cc=galak@kernel.crashing.org \
    --cc=geert@linux-m68k.org \
    --cc=gnurou@gmail.com \
    --cc=grant.likely@secretlab.ca \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=hskinnemoen@gmail.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=jonas@southpole.se \
    --cc=jwboyer@gmail.com \
    --cc=lethal@linux-sh.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=marcelo@kvack.org \
    --cc=mporter@kernel.crashing.org \
    --cc=paulus@samba.org \
    --cc=ralf@linux-mips.org \
    --cc=vapier@gentoo.org \
    --cc=vitb@kernel.crashing.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

Powered by JetHome