* [PATCH] - export spi_dv_pending
@ 2007-01-29 16:41 Eric Moore
0 siblings, 0 replies; only message in thread
From: Eric Moore @ 2007-01-29 16:41 UTC (permalink / raw)
To: linux-scsi, James.Bottomley
export define to be used in 3rd fusion patch
Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
diff -uarpN b/drivers/scsi/scsi_transport_spi.c a/drivers/scsi/scsi_transport_spi.c
--- b/drivers/scsi/scsi_transport_spi.c 2007-01-24 19:19:28.000000000 -0700
+++ a/drivers/scsi/scsi_transport_spi.c 2007-01-28 12:39:38.000000000 -0700
@@ -46,7 +46,6 @@
* two cc/ua clears */
/* Private data accessors (keep these out of the header file) */
-#define spi_dv_pending(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_pending)
#define spi_dv_in_progress(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_in_progress)
#define spi_dv_mutex(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_mutex)
diff -uarpN b/include/scsi/scsi_transport_spi.h a/include/scsi/scsi_transport_spi.h
--- b/include/scsi/scsi_transport_spi.h 2007-01-24 19:19:28.000000000 -0700
+++ a/include/scsi/scsi_transport_spi.h 2007-01-28 12:39:31.000000000 -0700
@@ -85,6 +85,7 @@ struct spi_host_attrs {
#define spi_pcomp_en(x) (((struct spi_transport_attrs *)&(x)->starget_data)->pcomp_en)
#define spi_hold_mcs(x) (((struct spi_transport_attrs *)&(x)->starget_data)->hold_mcs)
#define spi_initial_dv(x) (((struct spi_transport_attrs *)&(x)->starget_data)->initial_dv)
+#define spi_dv_pending(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dv_pending)
#define spi_support_sync(x) (((struct spi_transport_attrs *)&(x)->starget_data)->support_sync)
#define spi_support_wide(x) (((struct spi_transport_attrs *)&(x)->starget_data)->support_wide)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-29 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 16:41 [PATCH] - export spi_dv_pending Eric Moore
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).