android_kernel_xiaomi_sm8350/drivers/scsi/aic94xx
Sam Ravnborg 7ad4a48500 [SCSI] aic94xx: fix section mismatch
Fix following warnings:
WARNING: vmlinux.o(.data+0x17aa88): Section mismatch in reference from the variable asd_pcidev_data to the function .devinit.text:asd_aic9410_setup()
WARNING: vmlinux.o(.data+0x17aa98): Section mismatch in reference from the variable asd_pcidev_data to the function .devinit.text:asd_aic9410_setup()
WARNING: vmlinux.o(.data+0x17aaa8): Section mismatch in reference from the variable asd_pcidev_data to the function .devinit.text:asd_aic9405_setup()

asd_pcidev_data is only used by __devinit asd_pci_probe.  So mark is const and
annotate it __devinitconst to fix the warnings.

[akpm@linux-foundation.org: fix warning]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-05-02 13:26:46 -05:00
..
aic94xx_dev.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_dump.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_dump.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_hwi.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_hwi.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_init.c [SCSI] aic94xx: fix section mismatch 2008-05-02 13:26:46 -05:00
aic94xx_reg_def.h
aic94xx_reg.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_reg.h
aic94xx_sas.h
aic94xx_scb.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_sds.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_sds.h
aic94xx_seq.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_seq.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_task.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_tmf.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx.h
Kconfig
Makefile