From: Matthew Wilcox <matthew@wil.cx>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] Export spi_populate_* functions
Date: Mon, 27 Feb 2006 07:18:26 -0700 [thread overview]
Message-ID: <20060227141826.GB27759@parisc-linux.org> (raw)
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[] = {
next reply other threads:[~2006-02-27 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 14:18 Matthew Wilcox [this message]
2006-02-27 14:31 ` [PATCH] Export spi_populate_* functions 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060227141826.GB27759@parisc-linux.org \
--to=matthew@wil.cx \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).