Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254301
b: refs/heads/master
c: deba1a0
h: refs/heads/master
i:
  254299: c681d03
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD committed Jun 25, 2011
1 parent 32b99a5 commit 8bf70a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c1f9668692061b97125e343721c7514ca05a8bb
refs/heads/master: deba1a0d58b54905a5201cb9e1aa878cfc74ff70
3 changes: 2 additions & 1 deletion trunk/drivers/tty/serial/atmel_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1709,12 +1709,13 @@ static int atmel_serial_resume(struct platform_device *pdev)
static int __devinit atmel_serial_probe(struct platform_device *pdev)
{
struct atmel_uart_port *port;
struct atmel_uart_data *pdata = pdev->dev.platform_data;
void *data;
int ret;

BUILD_BUG_ON(ATMEL_SERIAL_RINGSIZE & (ATMEL_SERIAL_RINGSIZE - 1));

port = &atmel_ports[pdev->id];
port = &atmel_ports[pdata->num];
port->backup_imr = 0;

atmel_init_port(port, pdev);
Expand Down

0 comments on commit 8bf70a7

Please sign in to comment.