Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16732
b: refs/heads/master
c: 50aec3b
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 4, 2006
1 parent a640c53 commit 25b3e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 1624f003349b49050f42c7d9f5407dfc05efb912
refs/heads/master: 50aec3b561de4e435204ad315e5c5ab58ef9feda
4 changes: 1 addition & 3 deletions trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -2299,9 +2299,7 @@ static int __init find_port(struct uart_port *p)

for (line = 0; line < UART_NR; line++) {
port = &serial8250_ports[line].port;
if (p->iotype == port->iotype &&
p->iobase == port->iobase &&
p->membase == port->membase)
if (uart_match_port(p, port))
return line;
}
return -ENODEV;
Expand Down

0 comments on commit 25b3e9e

Please sign in to comment.