MIPS: Alchemy: use runtime cpu detection in GPIO code.
commit70f82f2c59be86fad915a2ee62673fe1aad6c2bd
authorManuel Lauss <mlau@msc-ge.com>
Mon, 23 Nov 2009 19:40:00 +0000 (23 20:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:02 +0000 (27 12:53 +0100)
tree089b089e5962fbc96dd30651889b8a42a04abc6c
parentbd2302c220566cffd0756e1ac5f65705f9e3d8e7
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