Skip to content

Commit

Permalink
[SCSI] aic94xx: fix section mismatches
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and James Bottomley committed Jan 12, 2008
1 parent 2551a13 commit a7ed044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/scsi/aic94xx/aic94xx_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static int __devinit asd_map_memio(struct asd_ha_struct *asd_ha)
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;

Expand Down Expand Up @@ -173,7 +173,7 @@ static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha)
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);
}
Expand Down Expand Up @@ -210,7 +210,7 @@ static int __devinit asd_map_ha(struct asd_ha_struct *asd_ha)
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)
asd_unmap_ioport(asd_ha);
Expand Down

0 comments on commit a7ed044

Please sign in to comment.