diff options
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 5578ae9a9e45..1cb5f7d4f278 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -68,6 +68,8 @@ | |||
68 | #include "scsi_priv.h" | 68 | #include "scsi_priv.h" |
69 | #include "scsi_logging.h" | 69 | #include "scsi_logging.h" |
70 | 70 | ||
71 | static void scsi_done(struct scsi_cmnd *cmd); | ||
72 | static int scsi_retry_command(struct scsi_cmnd *cmd); | ||
71 | 73 | ||
72 | /* | 74 | /* |
73 | * Definitions and constants. | 75 | * Definitions and constants. |
@@ -741,7 +743,7 @@ static DEFINE_PER_CPU(struct list_head, scsi_done_q); | |||
741 | * | 743 | * |
742 | * This function is interrupt context safe. | 744 | * This function is interrupt context safe. |
743 | */ | 745 | */ |
744 | void scsi_done(struct scsi_cmnd *cmd) | 746 | static void scsi_done(struct scsi_cmnd *cmd) |
745 | { | 747 | { |
746 | /* | 748 | /* |
747 | * We don't have to worry about this one timing out any more. | 749 | * We don't have to worry about this one timing out any more. |
@@ -836,7 +838,7 @@ static void scsi_softirq(struct softirq_action *h) | |||
836 | * level drivers should not become re-entrant as a result of | 838 | * level drivers should not become re-entrant as a result of |
837 | * this. | 839 | * this. |
838 | */ | 840 | */ |
839 | int scsi_retry_command(struct scsi_cmnd *cmd) | 841 | static int scsi_retry_command(struct scsi_cmnd *cmd) |
840 | { | 842 | { |
841 | /* | 843 | /* |
842 | * Restore the SCSI command state. | 844 | * Restore the SCSI command state. |