]> err.no Git - linux-2.6/commitdiff
[SCSI] qla1280: fix section mismatch warnings
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 30 Jun 2006 09:33:14 +0000 (02:33 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 1 Jul 2006 02:56:22 +0000 (21:56 -0500)
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'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla1280.c

index 680f6063954b2a94a3246266a68bdd830fa1fe96..f09d54058ce1169c3ae924238ba81ce99426c31c 100644 (file)
@@ -4210,7 +4210,7 @@ qla1280_setup(char *s)
 }
 
 
-static int
+static int __init
 qla1280_get_token(char *str)
 {
        char *sep;