aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-10-29 14:20:35 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-11 19:28:04 -0500
commita7ed0448e28ce6154390bf690b8b5c37853732dc (patch)
tree2871af7b098f51c5c64b8bfb96710db0e00468e8
parent2551a13e61d3c3df6c2da6de5a3ece78e6d67111 (diff)
[SCSI] aic94xx: fix section mismatches
Fix section mismatch warning: WARNING: vmlinux.o(.init.text+0x23be6): Section mismatch: reference to .exit.text:asd_unmap_ha (between 'asd_pci_probe' and 'qla4xxx_module_init') + WARNING: vmlinux.o(.text+0x1ec8a8): Section mismatch: reference to .exit.text:as d_unmap_ioport (between 'asd_unmap_ha' and 'asd_remove_dev_attrs') WARNING: vmlinux.o(.text+0x1ec8b1): Section mismatch: reference to .exit.text:as d_unmap_memio (between 'asd_unmap_ha' and 'asd_remove_dev_attrs') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--drivers/scsi/aic94xx/aic94xx_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c
index de0667011e13..5d761eb67442 100644
--- a/drivers/scsi/aic94xx/aic94xx_init.c
+++ b/drivers/scsi/aic94xx/aic94xx_init.c
@@ -136,7 +136,7 @@ Err:
136 return err; 136 return err;
137} 137}
138 138
139static void __devexit asd_unmap_memio(struct asd_ha_struct *asd_ha) 139static void asd_unmap_memio(struct asd_ha_struct *asd_ha)
140{ 140{
141 struct asd_ha_addrspace *io_handle; 141 struct asd_ha_addrspace *io_handle;
142 142
@@ -173,7 +173,7 @@ static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha)
173 return err; 173 return err;
174} 174}
175 175
176static void __devexit asd_unmap_ioport(struct asd_ha_struct *asd_ha) 176static void asd_unmap_ioport(struct asd_ha_struct *asd_ha)
177{ 177{
178 pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET); 178 pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET);
179} 179}
@@ -210,7 +210,7 @@ Err:
210 return err; 210 return err;
211} 211}
212 212
213static void __devexit asd_unmap_ha(struct asd_ha_struct *asd_ha) 213static void asd_unmap_ha(struct asd_ha_struct *asd_ha)
214{ 214{
215 if (asd_ha->iospace) 215 if (asd_ha->iospace)
216 asd_unmap_ioport(asd_ha); 216 asd_unmap_ioport(asd_ha);