diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-12-25 10:17:34 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-27 06:49:10 +0100 |
commit | 69edbba0021a48fe034849501513930f6175cb5d (patch) | |
tree | 51499128883b2e84bce5dcaa78e6e943c37eeb40 /arch/sh/boards/Kconfig | |
parent | sh: lockless gpio_set_value() (diff) | |
download | linux-69edbba0021a48fe034849501513930f6175cb5d.tar.xz linux-69edbba0021a48fe034849501513930f6175cb5d.zip |
sh: use gpiolib
This patch updates the SuperH gpio code to make use of gpiolib. The
gpiolib callbacks get() and set() are lockless, but we use our own
spinlock for the other operations to make sure hardware register
bitfield accesses stay atomic.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/Kconfig')
-rw-r--r-- | arch/sh/boards/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 861914747e4e..802d5c475a7d 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -165,7 +165,7 @@ config SH_SH7785LCR_29BIT_PHYSMAPS config SH_MIGOR bool "Migo-R" depends on CPU_SUBTYPE_SH7722 - select GENERIC_GPIO + select ARCH_REQUIRE_GPIOLIB help Select Migo-R if configuring for the SH7722 Migo-R platform by Renesas System Solutions Asia Pte. Ltd. @@ -173,7 +173,7 @@ config SH_MIGOR config SH_AP325RXA bool "AP-325RXA" depends on CPU_SUBTYPE_SH7723 - select GENERIC_GPIO + select ARCH_REQUIRE_GPIOLIB help Renesas "AP-325RXA" support. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" |