The function initio_remove_one is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Cc: James E.J. Bottomley <James.Bottomley@xxxxxxx> Cc: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxx> Cc: linux-scsi@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: Alan Cox <alan@xxxxxxxxxx> --- drivers/scsi/initio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 89a5948..8bbfd99 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c @@ -2964,7 +2964,7 @@ out_disable_device: * finished being used. */ -static void initio_remove_one(struct pci_dev *pdev) +static void __devexit initio_remove_one(struct pci_dev *pdev) { struct Scsi_Host *host = pci_get_drvdata(pdev); struct initio_host *s = (struct initio_host *)host->hostdata; -- 1.6.5.2 -- 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