[Blackfin] arch: Fix gpio label handling
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 24 Dec 2007 12:07:03 +0000 (20:07 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 24 Dec 2007 12:07:03 +0000 (20:07 +0800)
commitfac3cf432ef9b6bfd64b35b95afe0b7e0079da74
tree1075a5da95fa235a39d67cb3d2176b1434ff7a71
parent1545a1111a02b5aafe6f141e133a6269c5741285
[Blackfin] arch: Fix gpio label handling

early serial init also utilizes the peripheral request api - however
at this point bfin_gpio_init didn't allocate memory for the labels.
So we always have two zombies (allocated pin functions without labels)

This happens before the initcalls - We now allocate memory statically.
Define MAX_RESOURCES individually for each cpu.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/bfin_gpio.c
include/asm-blackfin/mach-bf527/portmux.h
include/asm-blackfin/mach-bf533/portmux.h
include/asm-blackfin/mach-bf537/portmux.h
include/asm-blackfin/mach-bf548/portmux.h
include/asm-blackfin/mach-bf561/portmux.h