Blackfin arch: Convert Blackfin GPIO driver to use common gpiolib/gpiochip infrastructure
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
commita4f0b32c331a3da1dd1336f1691504268c63fc14
treefe511ea71747c4a27cad8e56990681e67345f926
parent8d0223744f531168d4ae87f33354d12a50402779
Blackfin arch: Convert Blackfin GPIO driver to use common gpiolib/gpiochip infrastructure

 - This patch adds support for ARCH_WANT_OPTIONAL_GPIOLIB.
 - It may be changed in future to ARCH_REQUIRE_GPIOLIB.
 - Change GPIO_BANK_NUM use DIV_ROUND_UP( , ) macro

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/Kconfig
arch/blackfin/include/asm/gpio.h
arch/blackfin/kernel/bfin_gpio.c