The function stex_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Cc: Willem Riede <osst@xxxxxxxxx> Cc: James E.J. Bottomley <James.Bottomley@xxxxxxx> Cc: "Kai Mäkisara" <Kai.Makisara@xxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: Ed Lin <ed.lin@xxxxxxxxxxx> Cc: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: linux-scsi@xxxxxxxxxxxxxxx Cc: osst-users@xxxxxxxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx --- drivers/scsi/stex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index 09fa886..09ee386 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c @@ -1679,7 +1679,7 @@ static void stex_hba_free(struct st_hba *hba) hba->dma_mem, hba->dma_handle); } -static void stex_remove(struct pci_dev *pdev) +static void __devexit stex_remove(struct pci_dev *pdev) { struct st_hba *hba = pci_get_drvdata(pdev); -- 1.6.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html