Skip to content

Commit

Permalink
m68k: section mismatch fixes: Atari SCSI
Browse files Browse the repository at this point in the history
add __init annotations to probe routines

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Michael Schmitz authored and Geert Uytterhoeven committed Mar 26, 2009
1 parent d497e3a commit 95fde7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/atari_NCR5380.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ static char *lprint_Scsi_Cmnd(Scsi_Cmnd *cmd, char *pos, char *buffer, int lengt
*
*/

static int NCR5380_init(struct Scsi_Host *instance, int flags)
static int __init NCR5380_init(struct Scsi_Host *instance, int flags)
{
int i;
SETUP_HOSTDATA(instance);
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/atari_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ int atari_queue_command(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *))
#endif


int atari_scsi_detect(struct scsi_host_template *host)
int __init atari_scsi_detect(struct scsi_host_template *host)
{
static int called = 0;
struct Scsi_Host *instance;
Expand Down

0 comments on commit 95fde7a

Please sign in to comment.