summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_NCR5380.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2011-06-13 20:39:19 +0200
committerJames Bottomley2011-06-29 22:13:42 +0200
commit19b6c51cf05656c9dd970164be52b120162391bf (patch)
treee60b282e9b46b5c7b6ed56d5dadfa011d63ac1a6 /drivers/scsi/sun3_NCR5380.c
parent[SCSI] sun3: sun3scsi_detect() and NCR5380_init() should be __init (diff)
downloadkernel-qcow2-linux-19b6c51cf05656c9dd970164be52b120162391bf.tar.gz
kernel-qcow2-linux-19b6c51cf05656c9dd970164be52b120162391bf.tar.xz
kernel-qcow2-linux-19b6c51cf05656c9dd970164be52b120162391bf.zip
[SCSI] sun3: Provide a dummy NCR5380_exit()
and call it from sun3scsi_release(), cfr. the other NCR5380 drivers. This fixes: drivers/scsi/NCR5380.h:303: warning: ‘NCR5380_exit’ declared ‘static’ but never defined Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r--drivers/scsi/sun3_NCR5380.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c
index 0d04c3a00db9..2ba1cb781091 100644
--- a/drivers/scsi/sun3_NCR5380.c
+++ b/drivers/scsi/sun3_NCR5380.c
@@ -890,6 +890,11 @@ static int __init NCR5380_init(struct Scsi_Host *instance, int flags)
return 0;
}
+static void NCR5380_exit(struct Scsi_Host *instance)
+{
+ /* Empty, as we didn't schedule any delayed work */
+}
+
/*
* Function : int NCR5380_queue_command (struct scsi_cmnd *cmd,
* void (*done)(struct scsi_cmnd *))