Skip to content

Commit

Permalink
[SCSI] mac_scsi: macscsi_detect() should be __init
Browse files Browse the repository at this point in the history
WARNING: vmlinux.o(.text+0x1ecd3e): Section mismatch in reference from the function macscsi_detect() to the function .devinit.text:NCR5380_init()
WARNING: vmlinux.o(.text+0x1ecddc): Section mismatch in reference from the function macscsi_detect() to the function .init.text:NCR5380_print_options()
WARNING: vmlinux.o(.text+0x1ece60): Section mismatch in reference from the function macscsi_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>
  • Loading branch information
Geert Uytterhoeven authored and James Bottomley committed Jun 29, 2011
1 parent 6323e4f commit 70c26cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/mac_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static struct Scsi_Host *default_instance;
*
*/

int macscsi_detect(struct scsi_host_template * tpnt)
int __init macscsi_detect(struct scsi_host_template * tpnt)
{
static int called = 0;
int flags = 0;
Expand Down

0 comments on commit 70c26cf

Please sign in to comment.