Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60678
b: refs/heads/master
c: 1558f9b
h: refs/heads/master
v: v3
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed Jul 10, 2007
1 parent 72db3d9 commit 64574d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f716a425c15ebadf60286cd4fb60d1d6f46e3cf9
refs/heads/master: 1558f9b44e1c6b5eba46f58214851fd24285641f
6 changes: 2 additions & 4 deletions trunk/drivers/serial/of_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,13 @@ static int __devinit of_platform_serial_probe(struct of_device *ofdev,
goto out;

switch (port_type) {
case PORT_UNKNOWN:
dev_info(&ofdev->dev, "Unknown serial port found, "
"attempting to use 8250 driver\n");
/* fallthrough */
case PORT_8250 ... PORT_MAX_8250:
ret = serial8250_register_port(&port);
break;
default:
/* need to add code for these */
case PORT_UNKNOWN:
dev_info(&ofdev->dev, "Unknown serial port found, ignored\n");
ret = -ENODEV;
break;
}
Expand Down

0 comments on commit 64574d6

Please sign in to comment.