aboutsummaryrefslogtreecommitdiff
path: root/include/spi-mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spi-mem.h')
-rw-r--r--include/spi-mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/spi-mem.h b/include/spi-mem.h
index b07cf2ed83d..3c8e95b6f53 100644
--- a/include/spi-mem.h
+++ b/include/spi-mem.h
@@ -11,6 +11,8 @@
#ifndef __UBOOT_SPI_MEM_H
#define __UBOOT_SPI_MEM_H
+#include <linux/errno.h>
+
struct udevice;
#define SPI_MEM_OP_CMD(__opcode, __buswidth) \