Commit a7ed0448 authored by Randy Dunlap's avatar Randy Dunlap Committed by James Bottomley

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 2551a13e
...@@ -136,7 +136,7 @@ Err: ...@@ -136,7 +136,7 @@ Err:
return err; return err;
} }
static void __devexit asd_unmap_memio(struct asd_ha_struct *asd_ha) static void asd_unmap_memio(struct asd_ha_struct *asd_ha)
{ {
struct asd_ha_addrspace *io_handle; struct asd_ha_addrspace *io_handle;
...@@ -173,7 +173,7 @@ static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha) ...@@ -173,7 +173,7 @@ static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha)
return err; return err;
} }
static void __devexit asd_unmap_ioport(struct asd_ha_struct *asd_ha) static void asd_unmap_ioport(struct asd_ha_struct *asd_ha)
{ {
pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET); pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET);
} }
...@@ -210,7 +210,7 @@ Err: ...@@ -210,7 +210,7 @@ Err:
return err; return err;
} }
static void __devexit asd_unmap_ha(struct asd_ha_struct *asd_ha) static void asd_unmap_ha(struct asd_ha_struct *asd_ha)
{ {
if (asd_ha->iospace) if (asd_ha->iospace)
asd_unmap_ioport(asd_ha); asd_unmap_ioport(asd_ha);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment