Skip to contentSkip to conversation

qla1280: fix section mismatch warnings

PATCH In review [email protected] 1 participant 1 message Jun 9, 2006

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

PATCH 24/31 qla1280: fix section mismatch warnings

From: Randy Dunlap <[email protected]>

Fix section mismatch warnings:
WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to .init.data: from .text between 'qla1280_get_token' (at offset 0x2a16) and 'qla1280_probe_one'
WARNING: drivers/scsi/qla1280.o - Section mismatch: reference to .init.data: from .text between 'qla1280_get_token' (at offset 0x2a3c) and 'qla1280_probe_one'

Cc Andrew Vasquez <[email protected]>
Cc James Bottomley <[email protected]>

---

 drivers/scsi/qla1280.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla1280.c renamed from drivers/scsi/qla1280.c~qla1280-fix-section-mismatch-warnings +1 -1
diff -puN drivers/scsi/qla1280.c~qla1280-fix-section-mismatch-warnings drivers/scsi/qla1280.c
@@ -4210,7 +4210,7 @@ qla1280_setup(char *s)
 }
 
 
-static int
+static int __init
 qla1280_get_token(char *str)
 {
 	char *sep;

_