Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 864473bb authored by Randy Dunlap's avatar Randy Dunlap Committed by James Bottomley
Browse files

[SCSI] sym2: fix section mismatch warning



Fix section mismatch warning:

WARNING: vmlinux.o(.text+0x1ff3a2): Section mismatch: reference to .exit.text:sym2_remove (between 'sym2_io_error_detected' and 'sym_xpt_done')

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent a6ababd2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1744,7 +1744,7 @@ static int __devinit sym2_probe(struct pci_dev *pdev,
	return -ENODEV;
}

static void __devexit sym2_remove(struct pci_dev *pdev)
static void sym2_remove(struct pci_dev *pdev)
{
	struct Scsi_Host *shost = pci_get_drvdata(pdev);

@@ -2056,7 +2056,7 @@ static struct pci_driver sym2_driver = {
	.name		= NAME53C8XX,
	.id_table	= sym2_id_table,
	.probe		= sym2_probe,
	.remove		= __devexit_p(sym2_remove),
	.remove		= sym2_remove,
	.err_handler 	= &sym2_err_handler,
};