Skip to contentSkip to conversation

advansys: fix section mismatch warning

PATCH In review [email protected] 1 participant 1 message Nov 21, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 17/23 advansys: fix section mismatch warning

From: Randy Dunlap <[email protected]>

Fix section mismatch warning:

WARNING: vmlinux.o(.exit.text+0x152a): Section mismatch: reference to .init.data:_asc_def_iop_base (between 'advansys_isa_remove' and 'advansys_exit')

Cc Matthew Wilcox <[email protected]>
Cc James Bottomley <[email protected]>

---

 drivers/scsi/advansys.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/advansys.c renamed from drivers/scsi/advansys.c~advansys-fix-section-mismatch-warning +1 -1
diff -puN drivers/scsi/advansys.c~advansys-fix-section-mismatch-warning drivers/scsi/advansys.c
@@ -13906,7 +13906,7 @@ static int advansys_release(struct Scsi_
 
 #define ASC_IOADR_TABLE_MAX_IX  11
 
-static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] __devinitdata = {
+static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] = {
 	0x100, 0x0110, 0x120, 0x0130, 0x140, 0x0150, 0x0190,
 	0x0210, 0x0230, 0x0250, 0x0330
 };

_