aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_spi.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-17 17:58:47 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-27 23:55:13 -0500
commit38e14f895b212943995379dea824cc52b0c25991 (patch)
tree54d6f6b76eba15f92f9cd991bfd3329b2884ea59 /drivers/scsi/scsi_transport_spi.c
parenta012564136a665f8d63443c057ba368572b483df (diff)
[SCSI] Add EXPORT_SYMBOL for spi msg functions
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c
index 653f165d65f..c63adff15af 100644
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -1059,6 +1059,7 @@ int spi_populate_width_msg(unsigned char *msg, int width)
1059 msg[3] = width; 1059 msg[3] = width;
1060 return 4; 1060 return 4;
1061} 1061}
1062EXPORT_SYMBOL_GPL(spi_populate_width_msg);
1062 1063
1063int spi_populate_sync_msg(unsigned char *msg, int period, int offset) 1064int spi_populate_sync_msg(unsigned char *msg, int period, int offset)
1064{ 1065{
@@ -1069,6 +1070,7 @@ int spi_populate_sync_msg(unsigned char *msg, int period, int offset)
1069 msg[4] = offset; 1070 msg[4] = offset;
1070 return 5; 1071 return 5;
1071} 1072}
1073EXPORT_SYMBOL_GPL(spi_populate_sync_msg);
1072 1074
1073int spi_populate_ppr_msg(unsigned char *msg, int period, int offset, 1075int spi_populate_ppr_msg(unsigned char *msg, int period, int offset,
1074 int width, int options) 1076 int width, int options)
@@ -1083,6 +1085,7 @@ int spi_populate_ppr_msg(unsigned char *msg, int period, int offset,
1083 msg[7] = options; 1085 msg[7] = options;
1084 return 8; 1086 return 8;
1085} 1087}
1088EXPORT_SYMBOL_GPL(spi_populate_ppr_msg);
1086 1089
1087#ifdef CONFIG_SCSI_CONSTANTS 1090#ifdef CONFIG_SCSI_CONSTANTS
1088static const char * const one_byte_msgs[] = { 1091static const char * const one_byte_msgs[] = {