Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f67702a37533f59eee3386578450eeeb531da279
Commit:     f67702a37533f59eee3386578450eeeb531da279
Parent:     c35a8fb2f2467c93fe402b1d4b1e124341d0da13
Author:     Stephen Neuendorffer <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 9 06:35:09 2008 +1100
Committer:  Grant Likely <[EMAIL PROTECTED]>
CommitDate: Wed Jan 9 07:59:00 2008 -0700

    [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 <[EMAIL PROTECTED]>
    Acked-by: Peter Korsgaard <[EMAIL PROTECTED]>
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
---
 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 3f59324..8094340 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)
  *
  * @dev: pointer to device structure
  */
-static int __devinit ulite_release(struct device *dev)
+static int __devexit ulite_release(struct device *dev)
 {
        struct uart_port *port = dev_get_drvdata(dev);
        int rc = 0;
@@ -572,14 +572,14 @@ static int __devinit ulite_probe(struct platform_device 
*pdev)
        return ulite_assign(&pdev->dev, pdev->id, res->start, res2->start);
 }
 
-static int ulite_remove(struct platform_device *pdev)
+static int __devexit ulite_remove(struct platform_device *pdev)
 {
        return ulite_release(&pdev->dev);
 }
 
 static struct platform_driver ulite_platform_driver = {
        .probe  = ulite_probe,
-       .remove = ulite_remove,
+       .remove = __devexit_p(ulite_remove),
        .driver = {
                   .owner = THIS_MODULE,
                   .name  = "uartlite",
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to