diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap700x.c')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index aa677e2a3823..1b7ad97524b8 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -1044,7 +1044,7 @@ void __init at32_map_usart(unsigned int hw_id, unsigned int line, int flags) | |||
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | pdata = pdev->dev.platform_data; | 1046 | pdata = pdev->dev.platform_data; |
1047 | pdata->num = portnr; | 1047 | pdata->num = line; |
1048 | at32_usarts[line] = pdev; | 1048 | at32_usarts[line] = pdev; |
1049 | } | 1049 | } |
1050 | 1050 | ||