diff options
author | Kleber S. Souza <klebers@linux.vnet.ibm.com> | 2009-04-22 09:50:28 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-20 18:21:15 -0400 |
commit | f381642d8f8963e62f5d45774505fd936f2b6072 (patch) | |
tree | 2792c20158524d3d31e54fcb581e44a6a496258a /drivers/scsi/ipr.c | |
parent | 8f03226358972f93cd45be0a710927cbb7fd5127 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | 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 dd689ded8609..764cfcccec67 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -7688,7 +7688,7 @@ static void __ipr_remove(struct pci_dev *pdev) | |||
7688 | * Return value: | 7688 | * Return value: |
7689 | * none | 7689 | * none |
7690 | **/ | 7690 | **/ |
7691 | static void ipr_remove(struct pci_dev *pdev) | 7691 | static void __devexit ipr_remove(struct pci_dev *pdev) |
7692 | { | 7692 | { |
7693 | struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev); | 7693 | struct ipr_ioa_cfg *ioa_cfg = pci_get_drvdata(pdev); |
7694 | 7694 | ||
@@ -7864,7 +7864,7 @@ static struct pci_driver ipr_driver = { | |||
7864 | .name = IPR_NAME, | 7864 | .name = IPR_NAME, |
7865 | .id_table = ipr_pci_table, | 7865 | .id_table = ipr_pci_table, |
7866 | .probe = ipr_probe, | 7866 | .probe = ipr_probe, |
7867 | .remove = ipr_remove, | 7867 | .remove = __devexit_p(ipr_remove), |
7868 | .shutdown = ipr_shutdown, | 7868 | .shutdown = ipr_shutdown, |
7869 | .err_handler = &ipr_err_handler, | 7869 | .err_handler = &ipr_err_handler, |
7870 | }; | 7870 | }; |