diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-13 14:39:18 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 16:13:25 -0400 |
commit | d559c49e026b4b64dbeb9227c70c98ad11518747 (patch) | |
tree | db5f2ef8687c98f0a9c84cfd32d08ab9aa13b33d | |
parent | 5db5c5052d9ec39e808386c36fa3c873d5fb0171 (diff) |
[SCSI] sun3: sun3scsi_detect() and NCR5380_init() should be __init
WARNING: vmlinux.o(.text+0x18545c): Section mismatch in reference from the function sun3scsi_detect() to the function .init.text:NCR5380_print_options()
WARNING: vmlinux.o(.text+0x18556c): Section mismatch in reference from the function sun3scsi_detect() to the function .init.text:NCR5380_print_options()
WARNING: vmlinux.o(.text+0x187692): Section mismatch in reference from the function sun3scsi_detect() to the function .init.text:NCR5380_print_options()
WARNING: vmlinux.o(.text+0x187770): Section mismatch in reference from the function sun3scsi_detect() to the function .init.text:NCR5380_print_options()
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sun3_scsi_vme.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index 29c8246f5e76..0d04c3a00db9 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -842,7 +842,7 @@ static char *lprint_Scsi_Cmnd(struct scsi_cmnd *cmd, char *pos, char *buffer, | |||
842 | * | 842 | * |
843 | */ | 843 | */ |
844 | 844 | ||
845 | static int NCR5380_init (struct Scsi_Host *instance, int flags) | 845 | static int __init NCR5380_init(struct Scsi_Host *instance, int flags) |
846 | { | 846 | { |
847 | int i; | 847 | int i; |
848 | SETUP_HOSTDATA(instance); | 848 | SETUP_HOSTDATA(instance); |
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index 613f5880d135..2ad6b91d71eb 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -195,7 +195,7 @@ static struct Scsi_Host *default_instance; | |||
195 | * | 195 | * |
196 | */ | 196 | */ |
197 | 197 | ||
198 | int sun3scsi_detect(struct scsi_host_template * tpnt) | 198 | int __init sun3scsi_detect(struct scsi_host_template * tpnt) |
199 | { | 199 | { |
200 | unsigned long ioaddr; | 200 | unsigned long ioaddr; |
201 | static int called = 0; | 201 | static int called = 0; |
diff --git a/drivers/scsi/sun3_scsi_vme.c b/drivers/scsi/sun3_scsi_vme.c index 7c526b8e30ac..cd6d7790c373 100644 --- a/drivers/scsi/sun3_scsi_vme.c +++ b/drivers/scsi/sun3_scsi_vme.c | |||
@@ -137,7 +137,7 @@ static struct Scsi_Host *default_instance; | |||
137 | * | 137 | * |
138 | */ | 138 | */ |
139 | 139 | ||
140 | static int sun3scsi_detect(struct scsi_host_template * tpnt) | 140 | static int __init sun3scsi_detect(struct scsi_host_template * tpnt) |
141 | { | 141 | { |
142 | unsigned long ioaddr, irq = 0; | 142 | unsigned long ioaddr, irq = 0; |
143 | static int called = 0; | 143 | static int called = 0; |