summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_fsl_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi_fsl_lib.h')
-rw-r--r--drivers/spi/spi_fsl_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/spi_fsl_lib.h b/drivers/spi/spi_fsl_lib.h
index 6ae894917387..15aa6c21c729 100644
--- a/drivers/spi/spi_fsl_lib.h
+++ b/drivers/spi/spi_fsl_lib.h
@@ -26,6 +26,9 @@ struct mpc8xxx_spi {
/* rx & tx bufs from the spi_transfer */
const void *tx;
void *rx;
+#ifdef CONFIG_SPI_FSL_ESPI
+ int len;
+#endif
int subblock;
struct spi_pram __iomem *pram;