]> err.no Git - linux-2.6/commitdiff
[SCSI] spi transport class: export spi_dv_pending
authorEric Moore <eric.moore@lsi.com>
Mon, 29 Jan 2007 16:41:12 +0000 (09:41 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 3 Feb 2007 02:44:25 +0000 (20:44 -0600)
Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_spi.c
include/scsi/scsi_transport_spi.h

index 014d7fea1ff375d5a5c982c8d5c2f2d67d3be28b..6f56f8750635eca0e44ec6af2914a40f54b7c123 100644 (file)
@@ -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)
 
index da180f738477ef23040d68549c953969e7c524ff..286e9628ed8ba077f997e4105f6954e10d0d6c13 100644 (file)
@@ -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)