diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-10 08:33:13 -0400 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-20 09:48:15 -0400 |
commit | 95188aaf9fc81e9539606cad5c9579bd27604f92 (patch) | |
tree | 37a531342b35c1d1fb7a097e72631d4f102d41c7 /arch | |
parent | a76eb09ae38b73aa3cc2b664c903e0188b46b2e6 (diff) |
sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
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>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/mach-sdk7786/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-x3proto/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/Makefile | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/Makefile | 2 | ||||
-rw-r--r-- | 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 8ae56e9560ac..45d32e3590b9 100644 --- a/arch/sh/boards/mach-sdk7786/Makefile +++ b/arch/sh/boards/mach-sdk7786/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-y := fpga.o irq.o nmi.o setup.o | 1 | obj-y := fpga.o irq.o nmi.o setup.o |
2 | 2 | ||
3 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 3 | obj-$(CONFIG_GPIOLIB) += gpio.o |
4 | obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o | 4 | obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o |
diff --git a/arch/sh/boards/mach-x3proto/Makefile b/arch/sh/boards/mach-x3proto/Makefile index 708c21c919ff..0cbe3d02dea3 100644 --- a/arch/sh/boards/mach-x3proto/Makefile +++ b/arch/sh/boards/mach-x3proto/Makefile | |||
@@ -1,3 +1,3 @@ | |||
1 | obj-y += setup.o ilsel.o | 1 | obj-y += setup.o ilsel.o |
2 | 2 | ||
3 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 3 | obj-$(CONFIG_GPIOLIB) += gpio.o |
diff --git a/arch/sh/kernel/cpu/sh2a/Makefile b/arch/sh/kernel/cpu/sh2a/Makefile index 7fdc102d0dd6..990195d98456 100644 --- a/arch/sh/kernel/cpu/sh2a/Makefile +++ b/arch/sh/kernel/cpu/sh2a/Makefile | |||
@@ -21,4 +21,4 @@ pinmux-$(CONFIG_CPU_SUBTYPE_SH7203) := pinmux-sh7203.o | |||
21 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7264) := pinmux-sh7264.o | 21 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7264) := pinmux-sh7264.o |
22 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7269) := pinmux-sh7269.o | 22 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7269) := pinmux-sh7269.o |
23 | 23 | ||
24 | obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y) | 24 | obj-$(CONFIG_GPIOLIB) += $(pinmux-y) |
diff --git a/arch/sh/kernel/cpu/sh3/Makefile b/arch/sh/kernel/cpu/sh3/Makefile index 6f13f33a35ff..d3634ae7b71a 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 | |||
30 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7720) := pinmux-sh7720.o | 30 | pinmux-$(CONFIG_CPU_SUBTYPE_SH7720) := pinmux-sh7720.o |
31 | 31 | ||
32 | obj-y += $(clock-y) | 32 | obj-y += $(clock-y) |
33 | obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y) | 33 | obj-$(CONFIG_GPIOLIB) += $(pinmux-y) |
diff --git a/arch/sh/kernel/cpu/sh4a/Makefile b/arch/sh/kernel/cpu/sh4a/Makefile index 8fc6ec2be2fa..0705df775208 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 | |||
47 | 47 | ||
48 | obj-y += $(clock-y) | 48 | obj-y += $(clock-y) |
49 | obj-$(CONFIG_SMP) += $(smp-y) | 49 | obj-$(CONFIG_SMP) += $(smp-y) |
50 | obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y) | 50 | obj-$(CONFIG_GPIOLIB) += $(pinmux-y) |
51 | obj-$(CONFIG_PERF_EVENTS) += perf_event.o | 51 | obj-$(CONFIG_PERF_EVENTS) += perf_event.o |
52 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += ubc.o | 52 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += ubc.o |