Skip to content

Commit

Permalink
Blackfin arch: Fix reserved map after we changed PORT_H definition
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Michael Hennerich authored and Linus Torvalds committed May 21, 2007
1 parent a161bb0 commit 9ae246c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/blackfin/kernel/bfin_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9ae246c

Please sign in to comment.