Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48856
b: refs/heads/master
c: fc7900b
h: refs/heads/master
v: v3
  • Loading branch information
Sylvain Munaut authored and Paul Mackerras committed Feb 17, 2007
1 parent 501e72e commit 67542a4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5d30bf309717a518d0c4180af41650d4dcd3bb38
refs/heads/master: fc7900bb04c4290f3a8e43abf231aee566feff6d
4 changes: 3 additions & 1 deletion trunk/drivers/serial/mpc52xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,8 +995,10 @@ mpc52xx_uart_of_remove(struct of_device *op)
struct uart_port *port = dev_get_drvdata(&op->dev);
dev_set_drvdata(&op->dev, NULL);

if (port)
if (port) {
uart_remove_one_port(&mpc52xx_uart_driver, port);
irq_dispose_mapping(port->irq);
}

return 0;
}
Expand Down

0 comments on commit 67542a4

Please sign in to comment.