Skip to content

Commit

Permalink
[AVR32] NGW100, Remove relics of the old USART mapping scheme
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ben.nizette@iinet.net.au authored and Haavard Skinnemoen committed Jun 23, 2007
1 parent ab61f7d commit 7f8b9ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/avr32/boards/atngw100/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ static void __init set_hw_addr(struct platform_device *pdev)
clk_put(pclk);
}

struct platform_device *at32_usart_map[1];
unsigned int at32_nr_usarts = 1;

void __init setup_board(void)
{
at32_map_usart(1, 0); /* USART 1: /dev/ttyS0, DB9 */
Expand Down

0 comments on commit 7f8b9ac

Please sign in to comment.