]> 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 15:51:03 +0000 (17:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 17 Sep 2011 00:40:59 +0000 (02:40 +0200)
commit626b8eec1f04d95f81e08786ffb4e420caf52d5b
tree86dbc929fb3b01d50a872d005e0cf2e4330a4fe3
parentb736b57e9a0687b0b27a6a8a5afa565afd60821d
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