diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-10-29 14:20:40 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:27:56 -0500 |
commit | 864473bbbbcbe99e95a57ad496894768cd77a567 (patch) | |
tree | e2623a072a4fe4628c3bdd1eb4a75e9fdcdc4d18 /drivers/scsi | |
parent | a6ababd26aac6ef875df2055dcc147ccda2f8364 (diff) |
[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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 9e0908d1981a..09bbb39efe88 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1744,7 +1744,7 @@ static int __devinit sym2_probe(struct pci_dev *pdev, | |||
1744 | return -ENODEV; | 1744 | return -ENODEV; |
1745 | } | 1745 | } |
1746 | 1746 | ||
1747 | static void __devexit sym2_remove(struct pci_dev *pdev) | 1747 | static void sym2_remove(struct pci_dev *pdev) |
1748 | { | 1748 | { |
1749 | struct Scsi_Host *shost = pci_get_drvdata(pdev); | 1749 | struct Scsi_Host *shost = pci_get_drvdata(pdev); |
1750 | 1750 | ||
@@ -2056,7 +2056,7 @@ static struct pci_driver sym2_driver = { | |||
2056 | .name = NAME53C8XX, | 2056 | .name = NAME53C8XX, |
2057 | .id_table = sym2_id_table, | 2057 | .id_table = sym2_id_table, |
2058 | .probe = sym2_probe, | 2058 | .probe = sym2_probe, |
2059 | .remove = __devexit_p(sym2_remove), | 2059 | .remove = sym2_remove, |
2060 | .err_handler = &sym2_err_handler, | 2060 | .err_handler = &sym2_err_handler, |
2061 | }; | 2061 | }; |
2062 | 2062 | ||