]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Alchemy: support multiple GPIO styles in one kernel
authorManuel Lauss <manuel.lauss@googlemail.com>
Tue, 2 Aug 2011 17:51:03 +0000 (19:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 Sep 2011 23:45:51 +0000 (01:45 +0200)
commitcf96b9302b0295ea75487f27ea2431ef79295e0c
tree716e9d80ad65443f0ad4946e1866bb1ab66e2674
parentdb4b70804fd4764dbb1f9d5ceb5925955b572271
MIPS: Alchemy: support multiple GPIO styles in one kernel

For GPIOLIB=y decide at runtime which gpiochips to register;
in the GPIOLIB=n case, the gpio headers need to be reshuffled
a bit to make multiple implementations coexist peacefully.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/2679/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/Makefile
arch/mips/alchemy/common/gpiolib.c [moved from arch/mips/alchemy/common/gpiolib-au1000.c with 83% similarity]
arch/mips/include/asm/mach-au1x00/gpio-au1000.h
arch/mips/include/asm/mach-au1x00/gpio.h