aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sun3_scsi.c
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert@linux-m68k.org> 2011-06-13 20:39:18 +0200
committerGravatar James Bottomley <JBottomley@Parallels.com> 2011-06-29 15:13:25 -0500
commitd559c49e026b4b64dbeb9227c70c98ad11518747 (patch)
treedb5f2ef8687c98f0a9c84cfd32d08ab9aa13b33d /drivers/scsi/sun3_scsi.c
parent[SCSI] mac_scsi: Remove unused variable default_instance (diff)
downloadlinux-d559c49e026b4b64dbeb9227c70c98ad11518747.tar.gz
linux-d559c49e026b4b64dbeb9227c70c98ad11518747.tar.bz2
linux-d559c49e026b4b64dbeb9227c70c98ad11518747.zip
[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>
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
-rw-r--r--drivers/scsi/sun3_scsi.c2
1 files changed, 1 insertions, 1 deletions
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;
*
*/
-int sun3scsi_detect(struct scsi_host_template * tpnt)
+int __init sun3scsi_detect(struct scsi_host_template * tpnt)
{
unsigned long ioaddr;
static int called = 0;