[SCSI] ipr: ipr_remove() marked __devexit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 11:01 am

Gitweb:     http://git.kernel.org/linus/f381642d8f8963e62f5d45774505fd936f2b6072
Commit:     f381642d8f8963e62f5d45774505fd936f2b6072
Parent:     8f03226358972f93cd45be0a710927cbb7fd5127
Author:     Kleber S. Souza <klebers@linux.vnet.ibm.com>
AuthorDate: Wed Apr 22 10:50:28 2009 -0300
Committer:  James Bottomley <James.Bottomley@HansenPartnership.com>
CommitDate: Wed May 20 17:21:15 2009 -0500

    [SCSI] ipr: ipr_remove() marked __devexit
    
    Marking the ipr clean up function ipr_remove() as __devexit and using
    __devexit_p() macro in its address reference.
    
    Signed-off-by: Kleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
    Reported-by: Breno Leitao <leitao@linux.vnet.ibm.com>
    Acked-by: Brian King <brking@linux.vnet.ibm.com>
    Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
 drivers/scsi/ipr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index dd689de..764cfcc 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -7688,7 +7688,7 @@ static void __ipr_remove(struct pci_dev *pdev)
  * Return value:
  * 	none
  **/
-static void ipr_remove(struct pci_dev *pdev)
+static void __devexit ipr_remove(struct pci_dev *pdev)
 {
 	struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev);
 
@@ -7864,7 +7864,7 @@ static struct pci_driver ipr_driver = {
 	.name = IPR_NAME,
 	.id_table = ipr_pci_table,
 	.probe = ipr_probe,
-	.remove = ipr_remove,
+	.remove = __devexit_p(ipr_remove),
 	.shutdown = ipr_shutdown,
 	.err_handler = &ipr_err_handler,
 };
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SCSI] ipr: ipr_remove() marked __devexit, Linux Kernel Mailing ..., (Fri Jun 12, 11:01 am)