From: "Randy.Dunlap" From: Randy Dunlap Fix section mismatch in wd7000 driver: WARNING: drivers/scsi/wd7000.o - Section mismatch: reference to .init.text: from .text after 'wd7000_detect' (at offset 0xa5d) WARNING: drivers/scsi/wd7000.o - Section mismatch: reference to .init.text: from .text after 'wd7000_detect' (at offset 0xab6) WARNING: drivers/scsi/wd7000.o - Section mismatch: reference to .init.text: from .text after 'wd7000_detect' (at offset 0xb67 Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton --- drivers/scsi/wd7000.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/scsi/wd7000.c~wd7000-fix-section-mismatch-warnings drivers/scsi/wd7000.c --- devel/drivers/scsi/wd7000.c~wd7000-fix-section-mismatch-warnings 2006-05-25 14:34:54.000000000 -0700 +++ devel-akpm/drivers/scsi/wd7000.c 2006-05-25 14:34:54.000000000 -0700 @@ -1391,7 +1391,7 @@ static int wd7000_proc_info(struct Scsi_ * */ -static int wd7000_detect(struct scsi_host_template *tpnt) +static __init int wd7000_detect(struct scsi_host_template *tpnt) { short present = 0, biosaddr_ptr, sig_ptr, i, pass; short biosptr[NUM_CONFIGS]; _