diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-12-15 16:22:01 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-15 21:41:27 -0500 |
commit | 1abfd370134553f3b47e3e40a0526e05001409c2 (patch) | |
tree | 44653f5df309634cfdf347dcf1ec961667721101 /drivers/scsi/scsi_transport_spi.c | |
parent | 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b (diff) |
[SCSI] Rename scsi_print_msg to spi_print_msg
Rename scsi_print_msg to spi_print_msg and move its prototype from
scsi_dbg.h to scsi_transport_spi.h
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_spi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 00a73fc23fcc..59fb69ba790e 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c | |||
@@ -1072,7 +1072,7 @@ static const char * const extended_msgs[] = { | |||
1072 | #define NO_EXTENDED_MSGS (sizeof(two_byte_msgs) / sizeof (const char *)) | 1072 | #define NO_EXTENDED_MSGS (sizeof(two_byte_msgs) / sizeof (const char *)) |
1073 | 1073 | ||
1074 | 1074 | ||
1075 | int scsi_print_msg (const unsigned char *msg) | 1075 | int spi_print_msg(const unsigned char *msg) |
1076 | { | 1076 | { |
1077 | int len = 0, i; | 1077 | int len = 0, i; |
1078 | if (msg[0] == EXTENDED_MESSAGE) { | 1078 | if (msg[0] == EXTENDED_MESSAGE) { |
@@ -1125,11 +1125,11 @@ int scsi_print_msg (const unsigned char *msg) | |||
1125 | printk("reserved"); | 1125 | printk("reserved"); |
1126 | return len; | 1126 | return len; |
1127 | } | 1127 | } |
1128 | EXPORT_SYMBOL(scsi_print_msg); | 1128 | EXPORT_SYMBOL(spi_print_msg); |
1129 | 1129 | ||
1130 | #else /* ifndef CONFIG_SCSI_CONSTANTS */ | 1130 | #else /* ifndef CONFIG_SCSI_CONSTANTS */ |
1131 | 1131 | ||
1132 | int scsi_print_msg (const unsigned char *msg) | 1132 | int spi_print_msg(const unsigned char *msg) |
1133 | { | 1133 | { |
1134 | int len = 0, i; | 1134 | int len = 0, i; |
1135 | 1135 | ||
@@ -1153,7 +1153,7 @@ int scsi_print_msg (const unsigned char *msg) | |||
1153 | printk("%02x ", msg[0]); | 1153 | printk("%02x ", msg[0]); |
1154 | return len; | 1154 | return len; |
1155 | } | 1155 | } |
1156 | EXPORT_SYMBOL(scsi_print_msg); | 1156 | EXPORT_SYMBOL(spi_print_msg); |
1157 | #endif /* ! CONFIG_SCSI_CONSTANTS */ | 1157 | #endif /* ! CONFIG_SCSI_CONSTANTS */ |
1158 | 1158 | ||
1159 | #define SETUP_ATTRIBUTE(field) \ | 1159 | #define SETUP_ATTRIBUTE(field) \ |