diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-13 14:39:19 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 16:13:42 -0400 |
commit | 19b6c51cf05656c9dd970164be52b120162391bf (patch) | |
tree | e60b282e9b46b5c7b6ed56d5dadfa011d63ac1a6 /drivers/scsi | |
parent | d559c49e026b4b64dbeb9227c70c98ad11518747 (diff) |
[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')
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 5 | ||||
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sun3_scsi_vme.c | 1 |
3 files changed, 7 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) | |||
890 | return 0; | 890 | return 0; |
891 | } | 891 | } |
892 | 892 | ||
893 | static void NCR5380_exit(struct Scsi_Host *instance) | ||
894 | { | ||
895 | /* Empty, as we didn't schedule any delayed work */ | ||
896 | } | ||
897 | |||
893 | /* | 898 | /* |
894 | * Function : int NCR5380_queue_command (struct scsi_cmnd *cmd, | 899 | * Function : int NCR5380_queue_command (struct scsi_cmnd *cmd, |
895 | * void (*done)(struct scsi_cmnd *)) | 900 | * void (*done)(struct scsi_cmnd *)) |
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) | |||
314 | 314 | ||
315 | iounmap((void *)sun3_scsi_regp); | 315 | iounmap((void *)sun3_scsi_regp); |
316 | 316 | ||
317 | NCR5380_exit(shpnt); | ||
317 | return 0; | 318 | return 0; |
318 | } | 319 | } |
319 | 320 | ||
diff --git a/drivers/scsi/sun3_scsi_vme.c b/drivers/scsi/sun3_scsi_vme.c index cd6d7790c373..c0252db4da68 100644 --- a/drivers/scsi/sun3_scsi_vme.c +++ b/drivers/scsi/sun3_scsi_vme.c | |||
@@ -283,6 +283,7 @@ int sun3scsi_release (struct Scsi_Host *shpnt) | |||
283 | 283 | ||
284 | iounmap((void *)sun3_scsi_regp); | 284 | iounmap((void *)sun3_scsi_regp); |
285 | 285 | ||
286 | NCR5380_exit(shpnt); | ||
286 | return 0; | 287 | return 0; |
287 | } | 288 | } |
288 | 289 | ||