Commit 7f8b9aca authored by ben.nizette@iinet.net.au's avatar ben.nizette@iinet.net.au Committed by Haavard Skinnemoen

[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: default avatarBen Nizette <ben.nizette@iinet.net.au>
Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent ab61f7d2
...@@ -94,9 +94,6 @@ static void __init set_hw_addr(struct platform_device *pdev) ...@@ -94,9 +94,6 @@ static void __init set_hw_addr(struct platform_device *pdev)
clk_put(pclk); clk_put(pclk);
} }
struct platform_device *at32_usart_map[1];
unsigned int at32_nr_usarts = 1;
void __init setup_board(void) void __init setup_board(void)
{ {
at32_map_usart(1, 0); /* USART 1: /dev/ttyS0, DB9 */ at32_map_usart(1, 0); /* USART 1: /dev/ttyS0, DB9 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment