sh: use gpiolib
authorMagnus Damm <damm@igel.co.jp>
Thu, 25 Dec 2008 09:17:34 +0000 (18:17 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 27 Jan 2009 05:49:10 +0000 (14:49 +0900)
commit69edbba0021a48fe034849501513930f6175cb5d
tree51499128883b2e84bce5dcaa78e6e943c37eeb40
parent3292094e88ce6b76714dad8ec4b43d7c5c12ada2
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>
arch/sh/Kconfig
arch/sh/boards/Kconfig
arch/sh/include/asm/gpio.h
arch/sh/kernel/Makefile_32
arch/sh/kernel/Makefile_64
arch/sh/kernel/gpio.c
drivers/serial/sh-sci.h