diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-04 18:54:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-04 18:54:18 -0400 |
commit | fc52693f8f54485af29be1adc90ce2bd54ad325f (patch) | |
tree | 95ffbab75003d6da6a516a8956734bb7e3e5cb62 /drivers/tty/serial | |
parent | aababb9766f0e874da26a17acbbec867bf9501f0 (diff) | |
parent | 64393b3ae4e3cc86e2d622f682d736ec973364b6 (diff) |
Merge branch 'at91/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-2.6-arm-soc
* 'at91/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-2.6-arm-soc:
AT91: Change nand buswidth logic to match hardware default configuration
at91: Use "pclk" as con_id on at91cap9 and at91rm9200
at91: fix udc, ehci and mmc clock device name for cap9/9g45/9rl
atmel_serial: fix internal port num
at91: fix at91_set_serial_console: use platform device id
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 6d5d6e679fc7..af9b7814965a 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1709,12 +1709,13 @@ static int atmel_serial_resume(struct platform_device *pdev) | |||
1709 | static int __devinit atmel_serial_probe(struct platform_device *pdev) | 1709 | static int __devinit atmel_serial_probe(struct platform_device *pdev) |
1710 | { | 1710 | { |
1711 | struct atmel_uart_port *port; | 1711 | struct atmel_uart_port *port; |
1712 | struct atmel_uart_data *pdata = pdev->dev.platform_data; | ||
1712 | void *data; | 1713 | void *data; |
1713 | int ret; | 1714 | int ret; |
1714 | 1715 | ||
1715 | BUILD_BUG_ON(ATMEL_SERIAL_RINGSIZE & (ATMEL_SERIAL_RINGSIZE - 1)); | 1716 | BUILD_BUG_ON(ATMEL_SERIAL_RINGSIZE & (ATMEL_SERIAL_RINGSIZE - 1)); |
1716 | 1717 | ||
1717 | port = &atmel_ports[pdev->id]; | 1718 | port = &atmel_ports[pdata->num]; |
1718 | port->backup_imr = 0; | 1719 | port->backup_imr = 0; |
1719 | 1720 | ||
1720 | atmel_init_port(port, pdev); | 1721 | atmel_init_port(port, pdev); |