diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-24 01:05:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:43 -0400 |
commit | 52c1da39534fb382c061de58b65f678ad74b59f5 (patch) | |
tree | 92b18695f23afbc99374f844445f555a198978f2 /drivers/scsi/scsi.c | |
parent | d763b7a4736e219528f77bf6bc75dd78b1d75c03 (diff) |
[PATCH] make various thing static
Another rollup of patches which give various symbols static scope
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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. |