[PATCH 27/38] move bfad_pci_remove to .devexit.text

From: Uwe Kleine-KÃnig
Date: Tue Nov 24 2009 - 16:16:35 EST


The function bfad_pci_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
Cc: Jing Huang <huangj@xxxxxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: James E.J. Bottomley <James.Bottomley@xxxxxxx>
Cc: linux-scsi@xxxxxxxxxxxxxxx
---
drivers/scsi/bfa/bfad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c
index 6f2be5a..c4d3c91 100644
--- a/drivers/scsi/bfa/bfad.c
+++ b/drivers/scsi/bfa/bfad.c
@@ -1000,7 +1000,7 @@ out:
/**
* PCI remove entry.
*/
-void
+void __devexit
bfad_pci_remove(struct pci_dev *pdev)
{
struct bfad_s *bfad = pci_get_drvdata(pdev);
--
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/