* [PATCH] avr32:fix build error in at32ap700x.c
@ 2011-06-01 15:25 Wanlong Gao
2011-06-06 5:44 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 2+ messages in thread
From: Wanlong Gao @ 2011-06-01 15:25 UTC (permalink / raw)
To: Hans-Christian Egtvedt; +Cc: linux-kernel, Wanlong Gao
The portnr is undeclared. This build error is introduced by commit
2b348e2f82f532e3aff8e0ce9293033b3294c1e0
Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
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 aa677e2..1b7ad97 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)
}
pdata = pdev->dev.platform_data;
- pdata->num = portnr;
+ pdata->num = line;
at32_usarts[line] = pdev;
}
--
1.7.4.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-06 5:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01 15:25 [PATCH] avr32:fix build error in at32ap700x.c Wanlong Gao
2011-06-06 5:44 ` Hans-Christian Egtvedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®