summaryrefslogtreecommitdiff
path: root/drivers/scsi/sun3_scsi.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-06-13 20:39:19 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 15:13:42 -0500
commit19b6c51cf05656c9dd970164be52b120162391bf (patch)
treee60b282e9b46b5c7b6ed56d5dadfa011d63ac1a6 /drivers/scsi/sun3_scsi.c
parentd559c49e026b4b64dbeb9227c70c98ad11518747 (diff)
downloadlwn-19b6c51cf05656c9dd970164be52b120162391bf.tar.gz
lwn-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_scsi.c')
-rw-r--r--drivers/scsi/sun3_scsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
index 2ad6b91d71eb..2cc83ef3f37f 100644
--- a/drivers/scsi/sun3_scsi.c
+++ b/drivers/scsi/sun3_scsi.c
@@ -314,6 +314,7 @@ int sun3scsi_release (struct Scsi_Host *shpnt)
iounmap((void *)sun3_scsi_regp);
+ NCR5380_exit(shpnt);
return 0;
}