summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a3000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/a3000.c')
-rw-r--r--drivers/scsi/a3000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c
index 93aa6efa7..fdc7fd41d 100644
--- a/drivers/scsi/a3000.c
+++ b/drivers/scsi/a3000.c
@@ -3,6 +3,7 @@
#include <linux/blk.h>
#include <linux/sched.h>
#include <linux/version.h>
+#include <linux/init.h>
#include <asm/setup.h>
#include <asm/page.h>
@@ -166,7 +167,7 @@ static void dma_stop (struct Scsi_Host *instance, Scsi_Cmnd *SCpnt,
}
}
-int a3000_detect(Scsi_Host_Template *tpnt)
+__initfunc(int a3000_detect(Scsi_Host_Template *tpnt))
{
static unsigned char called = 0;