diff options
Diffstat (limited to 'drivers/serial/sunhv.c')
| -rw-r--r-- | drivers/serial/sunhv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c index a779e22d213e..c9014868297d 100644 --- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c | |||
| @@ -519,7 +519,7 @@ static struct console sunhv_console = { | |||
| 519 | .data = &sunhv_reg, | 519 | .data = &sunhv_reg, |
| 520 | }; | 520 | }; |
| 521 | 521 | ||
| 522 | static int __devinit hv_probe(struct of_device *op, const struct of_device_id *match) | 522 | static int __devinit hv_probe(struct platform_device *op, const struct of_device_id *match) |
| 523 | { | 523 | { |
| 524 | struct uart_port *port; | 524 | struct uart_port *port; |
| 525 | unsigned long minor; | 525 | unsigned long minor; |
| @@ -598,7 +598,7 @@ out_free_port: | |||
| 598 | return err; | 598 | return err; |
| 599 | } | 599 | } |
| 600 | 600 | ||
| 601 | static int __devexit hv_remove(struct of_device *dev) | 601 | static int __devexit hv_remove(struct platform_device *dev) |
| 602 | { | 602 | { |
| 603 | struct uart_port *port = dev_get_drvdata(&dev->dev); | 603 | struct uart_port *port = dev_get_drvdata(&dev->dev); |
| 604 | 604 | ||
