From 9ae246cd85e05d3fb31b9770588c1fe0914872fe Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Mon, 21 May 2007 18:09:15 +0800 Subject: Blackfin arch: Fix reserved map after we changed PORT_H definition Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu Signed-off-by: Linus Torvalds --- arch/blackfin/kernel/bfin_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/blackfin/kernel') diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index bc162529119..3f49fae1cb1 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c @@ -188,9 +188,9 @@ static int __init bfin_gpio_init(void) #if defined(BF537_FAMILY) && (defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE)) # if defined(CONFIG_BFIN_MAC_RMII) - reserved_map[PORT_H] = 0xC373; + reserved_map[gpio_bank(PORT_H)] = 0xC373; # else - reserved_map[PORT_H] = 0xFFFF; + reserved_map[gpio_bank(PORT_H)] = 0xFFFF; # endif #endif -- cgit v1.2.3