diff options
author | Michael Schmitz <schmitz@biophys.uni-duesseldorf.de> | 2009-01-17 21:22:15 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-03-26 16:15:29 -0400 |
commit | 95fde7a83989d595c06105629f42f3691bf62f91 (patch) | |
tree | 7d397ffecb31b0a3031dea07e3dfc5d48b86a8b6 | |
parent | d497e3ab91a726ecd76028698e5ce298f75ab681 (diff) |
m68k: section mismatch fixes: Atari SCSI
add __init annotations to probe routines
Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | drivers/scsi/atari_NCR5380.c | 2 | ||||
-rw-r--r-- | drivers/scsi/atari_scsi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c index 93b61f148653..0471f8800483 100644 --- a/drivers/scsi/atari_NCR5380.c +++ b/drivers/scsi/atari_NCR5380.c | |||
@@ -844,7 +844,7 @@ static char *lprint_Scsi_Cmnd(Scsi_Cmnd *cmd, char *pos, char *buffer, int lengt | |||
844 | * | 844 | * |
845 | */ | 845 | */ |
846 | 846 | ||
847 | static int NCR5380_init(struct Scsi_Host *instance, int flags) | 847 | static int __init NCR5380_init(struct Scsi_Host *instance, int flags) |
848 | { | 848 | { |
849 | int i; | 849 | int i; |
850 | SETUP_HOSTDATA(instance); | 850 | SETUP_HOSTDATA(instance); |
diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index 21fe07f9df87..ad7a23aef0ec 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c | |||
@@ -589,7 +589,7 @@ int atari_queue_command(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) | |||
589 | #endif | 589 | #endif |
590 | 590 | ||
591 | 591 | ||
592 | int atari_scsi_detect(struct scsi_host_template *host) | 592 | int __init atari_scsi_detect(struct scsi_host_template *host) |
593 | { | 593 | { |
594 | static int called = 0; | 594 | static int called = 0; |
595 | struct Scsi_Host *instance; | 595 | struct Scsi_Host *instance; |