[PATCH] Export spi_populate_* functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These functions should be usable by modules.

Signed-off-by: Matthew Wilcox <matthew@xxxxxx>

diff -u ./drivers/scsi/scsi_transport_spi.c ./drivers/scsi/scsi_transport_spi.c
--- ./drivers/scsi/scsi_transport_spi.c	7 Feb 2006 13:11:26 -0000
+++ ./drivers/scsi/scsi_transport_spi.c	27 Feb 2006 14:13:18 -0000
@@ -1062,6 +1061,7 @@
 	msg[3] = width;
 	return 4;
 }
+EXPORT_SYMBOL(spi_populate_width_msg);
 
 int spi_populate_sync_msg(unsigned char *msg, int period, int offset)
 {
@@ -1072,6 +1072,7 @@
 	msg[4] = offset;
 	return 5;
 }
+EXPORT_SYMBOL(spi_populate_sync_msg);
 
 int spi_populate_ppr_msg(unsigned char *msg, int period, int offset,
 		int width, int options)
@@ -1086,6 +1087,7 @@
 	msg[7] = options;
 	return 8;
 }
+EXPORT_SYMBOL(spi_populate_ppr_msg);
 
 #ifdef CONFIG_SCSI_CONSTANTS
 static const char * const one_byte_msgs[] = {
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux