diff options
Diffstat (limited to 'drivers/tty/serial/uartlite.c')
-rw-r--r-- | drivers/tty/serial/uartlite.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 6579ffdd8e9b..89eee43c4e2d 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c | |||
@@ -408,7 +408,7 @@ static void ulite_console_write(struct console *co, const char *s, | |||
408 | spin_unlock_irqrestore(&port->lock, flags); | 408 | spin_unlock_irqrestore(&port->lock, flags); |
409 | } | 409 | } |
410 | 410 | ||
411 | static int __devinit ulite_console_setup(struct console *co, char *options) | 411 | static int ulite_console_setup(struct console *co, char *options) |
412 | { | 412 | { |
413 | struct uart_port *port; | 413 | struct uart_port *port; |
414 | int baud = 9600; | 414 | int baud = 9600; |
@@ -486,7 +486,7 @@ static struct uart_driver ulite_uart_driver = { | |||
486 | * | 486 | * |
487 | * Returns: 0 on success, <0 otherwise | 487 | * Returns: 0 on success, <0 otherwise |
488 | */ | 488 | */ |
489 | static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) | 489 | static int ulite_assign(struct device *dev, int id, u32 base, int irq) |
490 | { | 490 | { |
491 | struct uart_port *port; | 491 | struct uart_port *port; |
492 | int rc; | 492 | int rc; |
@@ -542,7 +542,7 @@ static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) | |||
542 | * | 542 | * |
543 | * @dev: pointer to device structure | 543 | * @dev: pointer to device structure |
544 | */ | 544 | */ |
545 | static int __devexit ulite_release(struct device *dev) | 545 | static int ulite_release(struct device *dev) |
546 | { | 546 | { |
547 | struct uart_port *port = dev_get_drvdata(dev); | 547 | struct uart_port *port = dev_get_drvdata(dev); |
548 | int rc = 0; | 548 | int rc = 0; |
@@ -562,7 +562,7 @@ static int __devexit ulite_release(struct device *dev) | |||
562 | 562 | ||
563 | #if defined(CONFIG_OF) | 563 | #if defined(CONFIG_OF) |
564 | /* Match table for of_platform binding */ | 564 | /* Match table for of_platform binding */ |
565 | static struct of_device_id ulite_of_match[] __devinitdata = { | 565 | static struct of_device_id ulite_of_match[] = { |
566 | { .compatible = "xlnx,opb-uartlite-1.00.b", }, | 566 | { .compatible = "xlnx,opb-uartlite-1.00.b", }, |
567 | { .compatible = "xlnx,xps-uartlite-1.00.a", }, | 567 | { .compatible = "xlnx,xps-uartlite-1.00.a", }, |
568 | {} | 568 | {} |
@@ -570,7 +570,7 @@ static struct of_device_id ulite_of_match[] __devinitdata = { | |||
570 | MODULE_DEVICE_TABLE(of, ulite_of_match); | 570 | MODULE_DEVICE_TABLE(of, ulite_of_match); |
571 | #endif /* CONFIG_OF */ | 571 | #endif /* CONFIG_OF */ |
572 | 572 | ||
573 | static int __devinit ulite_probe(struct platform_device *pdev) | 573 | static int ulite_probe(struct platform_device *pdev) |
574 | { | 574 | { |
575 | struct resource *res, *res2; | 575 | struct resource *res, *res2; |
576 | int id = pdev->id; | 576 | int id = pdev->id; |
@@ -593,7 +593,7 @@ static int __devinit ulite_probe(struct platform_device *pdev) | |||
593 | return ulite_assign(&pdev->dev, id, res->start, res2->start); | 593 | return ulite_assign(&pdev->dev, id, res->start, res2->start); |
594 | } | 594 | } |
595 | 595 | ||
596 | static int __devexit ulite_remove(struct platform_device *pdev) | 596 | static int ulite_remove(struct platform_device *pdev) |
597 | { | 597 | { |
598 | return ulite_release(&pdev->dev); | 598 | return ulite_release(&pdev->dev); |
599 | } | 599 | } |
@@ -603,7 +603,7 @@ MODULE_ALIAS("platform:uartlite"); | |||
603 | 603 | ||
604 | static struct platform_driver ulite_platform_driver = { | 604 | static struct platform_driver ulite_platform_driver = { |
605 | .probe = ulite_probe, | 605 | .probe = ulite_probe, |
606 | .remove = __devexit_p(ulite_remove), | 606 | .remove = ulite_remove, |
607 | .driver = { | 607 | .driver = { |
608 | .owner = THIS_MODULE, | 608 | .owner = THIS_MODULE, |
609 | .name = "uartlite", | 609 | .name = "uartlite", |