diff options
Diffstat (limited to 'drivers/serial/timbuart.c')
-rw-r--r-- | drivers/serial/timbuart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/timbuart.c b/drivers/serial/timbuart.c index 67ca642713b8..1f36b7eb7351 100644 --- a/drivers/serial/timbuart.c +++ b/drivers/serial/timbuart.c | |||
@@ -423,7 +423,7 @@ static struct uart_driver timbuart_driver = { | |||
423 | .nr = 1 | 423 | .nr = 1 |
424 | }; | 424 | }; |
425 | 425 | ||
426 | static int timbuart_probe(struct platform_device *dev) | 426 | static int __devinit timbuart_probe(struct platform_device *dev) |
427 | { | 427 | { |
428 | int err, irq; | 428 | int err, irq; |
429 | struct timbuart_port *uart; | 429 | struct timbuart_port *uart; |
@@ -489,7 +489,7 @@ err_mem: | |||
489 | return err; | 489 | return err; |
490 | } | 490 | } |
491 | 491 | ||
492 | static int timbuart_remove(struct platform_device *dev) | 492 | static int __devexit timbuart_remove(struct platform_device *dev) |
493 | { | 493 | { |
494 | struct timbuart_port *uart = platform_get_drvdata(dev); | 494 | struct timbuart_port *uart = platform_get_drvdata(dev); |
495 | 495 | ||
@@ -507,7 +507,7 @@ static struct platform_driver timbuart_platform_driver = { | |||
507 | .owner = THIS_MODULE, | 507 | .owner = THIS_MODULE, |
508 | }, | 508 | }, |
509 | .probe = timbuart_probe, | 509 | .probe = timbuart_probe, |
510 | .remove = timbuart_remove, | 510 | .remove = __devexit_p(timbuart_remove), |
511 | }; | 511 | }; |
512 | 512 | ||
513 | /*--------------------------------------------------------------------------*/ | 513 | /*--------------------------------------------------------------------------*/ |