[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>
This commit is contained in:
committed by
James Bottomley
parent
410ca5c7c6
commit
1abfd37013
@@ -1072,7 +1072,7 @@ static const char * const extended_msgs[] = {
|
||||
#define NO_EXTENDED_MSGS (sizeof(two_byte_msgs) / sizeof (const char *))
|
||||
|
||||
|
||||
int scsi_print_msg (const unsigned char *msg)
|
||||
int spi_print_msg(const unsigned char *msg)
|
||||
{
|
||||
int len = 0, i;
|
||||
if (msg[0] == EXTENDED_MESSAGE) {
|
||||
@@ -1125,11 +1125,11 @@ int scsi_print_msg (const unsigned char *msg)
|
||||
printk("reserved");
|
||||
return len;
|
||||
}
|
||||
EXPORT_SYMBOL(scsi_print_msg);
|
||||
EXPORT_SYMBOL(spi_print_msg);
|
||||
|
||||
#else /* ifndef CONFIG_SCSI_CONSTANTS */
|
||||
|
||||
int scsi_print_msg (const unsigned char *msg)
|
||||
int spi_print_msg(const unsigned char *msg)
|
||||
{
|
||||
int len = 0, i;
|
||||
|
||||
@@ -1153,7 +1153,7 @@ int scsi_print_msg (const unsigned char *msg)
|
||||
printk("%02x ", msg[0]);
|
||||
return len;
|
||||
}
|
||||
EXPORT_SYMBOL(scsi_print_msg);
|
||||
EXPORT_SYMBOL(spi_print_msg);
|
||||
#endif /* ! CONFIG_SCSI_CONSTANTS */
|
||||
|
||||
#define SETUP_ATTRIBUTE(field) \
|
||||
|
Reference in New Issue
Block a user