linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Export spi_populate_* functions
@ 2006-02-27 14:18 Matthew Wilcox
  2006-02-27 14:31 ` Arjan van de Ven
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2006-02-27 14:18 UTC (permalink / raw)
  To: linux-scsi


These functions should be usable by modules.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>

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[] = {

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-27 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-27 14:18 [PATCH] Export spi_populate_* functions Matthew Wilcox
2006-02-27 14:31 ` Arjan van de Ven
2006-02-27 14:47   ` James Bottomley
2006-02-27 14:51     ` Matthew Wilcox
2006-02-27 14:49   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).