summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mem-nodm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-mem-nodm.c')
-rw-r--r--drivers/spi/spi-mem-nodm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-mem-nodm.c b/drivers/spi/spi-mem-nodm.c
index 4447d44991..83dde4806e 100644
--- a/drivers/spi/spi-mem-nodm.c
+++ b/drivers/spi/spi-mem-nodm.c
@@ -3,6 +3,7 @@
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
*/
+#include <malloc.h>
#include <spi.h>
#include <spi-mem.h>