]> git.baikalelectronics.ru Git - kernel.git/commit
avr32/at32ap: fix mapping of platform device id for USART
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Wed, 8 Jun 2011 08:47:25 +0000 (10:47 +0200)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 14 Jun 2011 11:37:29 +0000 (13:37 +0200)
commit7a5be2443e2eab53db952d3906b977c1a68c7475
tree18dcd77d5b22a637a01c3ae9d1d98aab191e01d2
parentea45fec5f3f4420d294300d7cb7bcc3074ec76c0
avr32/at32ap: fix mapping of platform device id for USART

This patch will fix the mapping of the platform device id when mapping USART
peripheral ID to UART platform device id. Not setting the platform device id
will in most cases (when you map USART > 0 to UART 0) make the console not
available.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/mach-at32ap/at32ap700x.c