arch/arm/src/imxrt/imxrt_usdhc.c: Eliminate a warning

This commit is contained in:
David Sidrane 2019-01-16 18:15:01 -06:00 committed by Gregory Nutt
parent 2f1678b7be
commit 64921a9c57

View File

@ -59,6 +59,7 @@
#include <nuttx/irq.h>
#include <arch/board/board.h>
#include "cache.h"
#include "chip.h"
#include "up_arch.h"
@ -995,7 +996,8 @@ static void imxrt_endtransfer(struct imxrt_dev_s *priv,
/* DMA modified the buffer, so we need to flush its cache lines. */
arch_invalidate_dcache(priv->buffer, priv->bufferend);
arch_invalidate_dcache((uintptr_t)priv->buffer,
(uintptr_t)priv->bufferend);
/* Debug instrumentation */