提交 f381642d 编写于 作者: K Kleber S. Souza 提交者: James Bottomley

[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: NKleber Sacilotto de Souza <kleber@linux.vnet.ibm.com>
Reported-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: NBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 8f032263
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册