Skip to content

Commit

Permalink
[SCSI] ipr: ipr_remove() marked __devexit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kleber S. Souza authored and James Bottomley committed May 20, 2009
1 parent 8f03226 commit f381642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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,
};
Expand Down

0 comments on commit f381642

Please sign in to comment.