]> 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>
Mon, 24 Oct 2011 22:34:23 +0000 (23:34 +0100)
commitce1d43b9a9e8a3db8fe91696c0b0e3ac1a154e34
tree7e47005c61e98f44005c17a636457c4398c73fdd
parent2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726
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