diff options
author | Randy.Dunlap <rdunlap@xenotime.net> | 2006-06-25 08:48:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:09 -0400 |
commit | b9bcf9c117b0a39f7e59c9682a7b32a9253c0544 (patch) | |
tree | bd87511b73ffeffad05d501eae50ee0b82ffe93d /drivers/scsi/wd7000.c | |
parent | ad4063b0b2ffd7c8359b62c830e88152fc39ab20 (diff) |
[PATCH] wd7000: fix section mismatch warnings
From: Randy Dunlap <rdunlap@xenotime.net>
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 <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/wd7000.c')
-rw-r--r-- | drivers/scsi/wd7000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c index e55f0ee7e7e4..574955b78a24 100644 --- a/drivers/scsi/wd7000.c +++ b/drivers/scsi/wd7000.c | |||
@@ -1391,7 +1391,7 @@ static int wd7000_proc_info(struct Scsi_Host *host, char *buffer, char **start, | |||
1391 | * | 1391 | * |
1392 | */ | 1392 | */ |
1393 | 1393 | ||
1394 | static int wd7000_detect(struct scsi_host_template *tpnt) | 1394 | static __init int wd7000_detect(struct scsi_host_template *tpnt) |
1395 | { | 1395 | { |
1396 | short present = 0, biosaddr_ptr, sig_ptr, i, pass; | 1396 | short present = 0, biosaddr_ptr, sig_ptr, i, pass; |
1397 | short biosptr[NUM_CONFIGS]; | 1397 | short biosptr[NUM_CONFIGS]; |