Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168979
b: refs/heads/master
c: 1917d17
h: refs/heads/master
i:
  168977: 144ed3e
  168975: b76cc30
v: v3
  • Loading branch information
David S. Miller committed Nov 24, 2009
1 parent 2436948 commit 145557e
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 457931de3b0925dc2eb941bc7d611a509be36dff
refs/heads/master: 1917d17b903955b8b2903626a2e01d071a5d0ec9
8 changes: 7 additions & 1 deletion trunk/drivers/serial/sunsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,7 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m
struct uart_sunsu_port *up;
struct resource *rp;
enum su_type type;
bool ignore_line;
int err;

type = su_get_type(dp);
Expand Down Expand Up @@ -1467,9 +1468,14 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m

up->port.ops = &sunsu_pops;

ignore_line = false;
if (!strcmp(dp->name, "rsc-console") ||
!strcmp(dp->name, "lom-console"))
ignore_line = true;

sunserial_console_match(SUNSU_CONSOLE(), dp,
&sunsu_reg, up->port.line,
false);
ignore_line);
err = uart_add_one_port(&sunsu_reg, &up->port);
if (err)
goto out_unmap;
Expand Down

0 comments on commit 145557e

Please sign in to comment.