]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Alchemy: use runtime cpu detection in GPIO code.
authorManuel Lauss <mlau@msc-ge.com>
Mon, 23 Nov 2009 19:40:00 +0000 (20:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:02 +0000 (12:53 +0100)
commit00f035eaacccfd59951c1e7900baace467e59e3b
tree089b089e5962fbc96dd30651889b8a42a04abc6c
parent08624bde078d0e9a09bcd51ad4a844bb0c86b9ab
MIPS: Alchemy: use runtime cpu detection in GPIO code.

Remove the cpu subtype cpp macros in favor of runtime detection,
to improve compile coverage of the alchemy common code.
(Increases kernel size by 700 bytes).

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/699/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/gpiolib-au1000.c
arch/mips/include/asm/mach-au1x00/gpio-au1000.h