aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_spi.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-12-15 16:22:01 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-15 21:41:27 -0500
commit1abfd370134553f3b47e3e40a0526e05001409c2 (patch)
tree44653f5df309634cfdf347dcf1ec961667721101 /drivers/scsi/scsi_transport_spi.c
parent410ca5c7c6ed08bda165e8137bff26c3fbee5a1b (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.c8
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
1075int scsi_print_msg (const unsigned char *msg) 1075int 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}
1128EXPORT_SYMBOL(scsi_print_msg); 1128EXPORT_SYMBOL(spi_print_msg);
1129 1129
1130#else /* ifndef CONFIG_SCSI_CONSTANTS */ 1130#else /* ifndef CONFIG_SCSI_CONSTANTS */
1131 1131
1132int scsi_print_msg (const unsigned char *msg) 1132int 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}
1156EXPORT_SYMBOL(scsi_print_msg); 1156EXPORT_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) \