summaryrefslogtreecommitdiff
path: root/drivers/scsi/atari_NCR5380.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-06-13 20:39:15 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 15:11:21 -0500
commit6323e4fe7f61f77c87c26d2b5dcb3472246c1341 (patch)
tree28a3e260ab70e79837fad7ee8c47205ed16d64b5 /drivers/scsi/atari_NCR5380.c
parent50f87f910db0f6dcd3eb569e76c4a48c5315198c (diff)
downloadlwn-6323e4fe7f61f77c87c26d2b5dcb3472246c1341.tar.gz
lwn-6323e4fe7f61f77c87c26d2b5dcb3472246c1341.zip
[SCSI] atari_NCR5380: Provide a dummy NCR5380_exit()
and call it from atari_scsi_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/atari_NCR5380.c')
-rw-r--r--drivers/scsi/atari_NCR5380.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c
index 24652f13dfd9..2db79b469d9e 100644
--- a/drivers/scsi/atari_NCR5380.c
+++ b/drivers/scsi/atari_NCR5380.c
@@ -892,6 +892,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 (Scsi_Cmnd *cmd,
* void (*done)(Scsi_Cmnd *))