diff options
author | ben.nizette@iinet.net.au <ben.nizette@iinet.net.au> | 2007-06-20 08:44:30 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-06-23 08:52:58 -0400 |
commit | 7f8b9acae8a76fcce5f4af0dfac735a1b7b4fdbf (patch) | |
tree | c45d9b79596d1d6b2082dbb2956b753bd5c181ac /arch/avr32 | |
parent | ab61f7d21ab7f564fce322c498e4a7d6171140db (diff) |
[AVR32] NGW100, Remove relics of the old USART mapping scheme
USART mapping used to be accomplished by the manual filling of
at32_usart_map[] and at32_nr_usarts. This has now been replaced
with at32_map_usart() so we can remove these variables.
Signed-off-by: Ben Nizette <ben.nizette@iinet.net.au>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/boards/atngw100/setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index 9bc37d4f6687..6c4dc0a00e9f 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c | |||
@@ -94,9 +94,6 @@ static void __init set_hw_addr(struct platform_device *pdev) | |||
94 | clk_put(pclk); | 94 | clk_put(pclk); |
95 | } | 95 | } |
96 | 96 | ||
97 | struct platform_device *at32_usart_map[1]; | ||
98 | unsigned int at32_nr_usarts = 1; | ||
99 | |||
100 | void __init setup_board(void) | 97 | void __init setup_board(void) |
101 | { | 98 | { |
102 | at32_map_usart(1, 0); /* USART 1: /dev/ttyS0, DB9 */ | 99 | at32_map_usart(1, 0); /* USART 1: /dev/ttyS0, DB9 */ |