Signed-off-by: Jiri Vlasak <[email protected]>
---
 arch/arm/src/kinetis/kinetis_spi.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/src/kinetis/kinetis_spi.c 
b/arch/arm/src/kinetis/kinetis_spi.c
index 50a6890b78..430b3e7bc9 100644
--- a/arch/arm/src/kinetis/kinetis_spi.c
+++ b/arch/arm/src/kinetis/kinetis_spi.c
@@ -237,6 +237,8 @@ static struct kinetis_spidev_s g_spi0dev =
 #  ifdef CONFIG_KINETIS_SPI0_DMA
   .rxch     = KINETIS_DMA_REQUEST_SRC_SPI0_RX,
   .txch     = KINETIS_DMA_REQUEST_SRC_SPI0_TX,
+  .rxdma    = NULL,
+  .txdma    = NULL,
 #  else
   .rxch     = 0,
   .txch     = 0,
@@ -293,6 +295,8 @@ static struct kinetis_spidev_s g_spi1dev =
 #  ifdef CONFIG_KINETIS_SPI1_DMA
   .rxch     = KINETIS_DMA_REQUEST_SRC_SPI1_RX,
   .txch     = KINETIS_DMA_REQUEST_SRC_SPI1_TX,
+  .rxdma    = NULL,
+  .txdma    = NULL,
 #  else
   .rxch     = 0,
   .txch     = 0,
@@ -349,6 +353,8 @@ static struct kinetis_spidev_s g_spi2dev =
 #  ifdef CONFIG_KINETIS_SPI2_DMA
   .rxch     = KINETIS_DMA_REQUEST_SRC_FTM3_CH6__SPI2_RX,
   .txch     = KINETIS_DMA_REQUEST_SRC_FTM3_CH7__SPI2_TX,
+  .rxdma    = NULL,
+  .txdma    = NULL,
 #  else
   .rxch     = 0,
   .txch     = 0,
-- 
2.47.3

Reply via email to