diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2008-01-08 14:35:09 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-01-09 09:59:00 -0500 |
commit | f67702a37533f59eee3386578450eeeb531da279 (patch) | |
tree | d40e44f939f97a9d92a9aee1ca29c55ea8c3a98c /drivers/serial | |
parent | c35a8fb2f2467c93fe402b1d4b1e124341d0da13 (diff) |
[POWERPC] Xilinx uartlite: Section type fixups
All the __devexit functions are now appropriately tagged. This fixes
some ppc link warnings.
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/uartlite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c index 3f593247c41e..80943409edb0 100644 --- a/drivers/serial/uartlite.c +++ b/drivers/serial/uartlite.c | |||
@@ -539,7 +539,7 @@ static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) | |||
539 | * | 539 | * |
540 | * @dev: pointer to device structure | 540 | * @dev: pointer to device structure |
541 | */ | 541 | */ |
542 | static int __devinit ulite_release(struct device *dev) | 542 | static int __devexit ulite_release(struct device *dev) |
543 | { | 543 | { |
544 | struct uart_port *port = dev_get_drvdata(dev); | 544 | struct uart_port *port = dev_get_drvdata(dev); |
545 | int rc = 0; | 545 | int rc = 0; |
@@ -572,14 +572,14 @@ static int __devinit ulite_probe(struct platform_device *pdev) | |||
572 | return ulite_assign(&pdev->dev, pdev->id, res->start, res2->start); | 572 | return ulite_assign(&pdev->dev, pdev->id, res->start, res2->start); |
573 | } | 573 | } |
574 | 574 | ||
575 | static int ulite_remove(struct platform_device *pdev) | 575 | static int __devexit ulite_remove(struct platform_device *pdev) |
576 | { | 576 | { |
577 | return ulite_release(&pdev->dev); | 577 | return ulite_release(&pdev->dev); |
578 | } | 578 | } |
579 | 579 | ||
580 | static struct platform_driver ulite_platform_driver = { | 580 | static struct platform_driver ulite_platform_driver = { |
581 | .probe = ulite_probe, | 581 | .probe = ulite_probe, |
582 | .remove = ulite_remove, | 582 | .remove = __devexit_p(ulite_remove), |
583 | .driver = { | 583 | .driver = { |
584 | .owner = THIS_MODULE, | 584 | .owner = THIS_MODULE, |
585 | .name = "uartlite", | 585 | .name = "uartlite", |