From: ben.nizette@iinet.net.au Date: Wed, 20 Jun 2007 12:44:30 +0000 (+0800) Subject: [AVR32] NGW100, Remove relics of the old USART mapping scheme X-Git-Tag: v2.6.22-rc6~32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f8b9acae8a76fcce5f4af0dfac735a1b7b4fdbf;p=linux-2.6 [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 Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index 9bc37d4f66..6c4dc0a00e 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) 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 */