Commit d559c49e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by James Bottomley

[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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 5db5c505
...@@ -842,7 +842,7 @@ static char *lprint_Scsi_Cmnd(struct scsi_cmnd *cmd, char *pos, char *buffer, ...@@ -842,7 +842,7 @@ static char *lprint_Scsi_Cmnd(struct scsi_cmnd *cmd, char *pos, char *buffer,
* *
*/ */
static int NCR5380_init (struct Scsi_Host *instance, int flags) static int __init NCR5380_init(struct Scsi_Host *instance, int flags)
{ {
int i; int i;
SETUP_HOSTDATA(instance); SETUP_HOSTDATA(instance);
......
...@@ -195,7 +195,7 @@ static struct Scsi_Host *default_instance; ...@@ -195,7 +195,7 @@ static struct Scsi_Host *default_instance;
* *
*/ */
int sun3scsi_detect(struct scsi_host_template * tpnt) int __init sun3scsi_detect(struct scsi_host_template * tpnt)
{ {
unsigned long ioaddr; unsigned long ioaddr;
static int called = 0; static int called = 0;
......
...@@ -137,7 +137,7 @@ static struct Scsi_Host *default_instance; ...@@ -137,7 +137,7 @@ static struct Scsi_Host *default_instance;
* *
*/ */
static int sun3scsi_detect(struct scsi_host_template * tpnt) static int __init sun3scsi_detect(struct scsi_host_template * tpnt)
{ {
unsigned long ioaddr, irq = 0; unsigned long ioaddr, irq = 0;
static int called = 0; static int called = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment