To just compile these things.

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

diff --git a/arch/arm/src/kinetis/kinetis_edma.c 
b/arch/arm/src/kinetis/kinetis_edma.c
index a44cbc0be5..708f215dcd 100644
--- a/arch/arm/src/kinetis/kinetis_edma.c
+++ b/arch/arm/src/kinetis/kinetis_edma.c
@@ -137,6 +137,7 @@ struct kinetis_edma_s
   /* These mutex protect the DMA channel and descriptor tables */
 
   mutex_t chlock;                 /* Protects channel table */
+  spinlock_t lock;
 #if CONFIG_KINETIS_EDMA_NTCD > 0
   sem_t dsem;                     /* Supports wait for free descriptors */
 #endif
@@ -1276,6 +1277,7 @@ void kinetis_dmasample(DMACH_HANDLE handle, struct 
kinetis_dmaregs_s *regs)
   uintptr_t regaddr;
   unsigned int chan;
   irqstate_t flags;
+  uintptr_t base;
 
   DEBUGASSERT(dmach != NULL && regs != NULL);
   chan           = dmach->chan;
-- 
2.47.3

Reply via email to