summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sifive.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:34 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commit340fd10e7b235681fe5996a89cc84dfcd5afafbd (patch)
tree3b05850310dd8791798de4668b9945160c890d2a /drivers/spi/spi-sifive.c
parentdefce58181e962f9c9979091ac4726cfcded63e7 (diff)
downloadu-boot-340fd10e7b235681fe5996a89cc84dfcd5afafbd.tar.gz
u-boot-340fd10e7b235681fe5996a89cc84dfcd5afafbd.tar.xz
u-boot-340fd10e7b235681fe5996a89cc84dfcd5afafbd.zip
mtd: spi-mem: Drop dm.h header file
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/spi/spi-sifive.c')
-rw-r--r--drivers/spi/spi-sifive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-sifive.c b/drivers/spi/spi-sifive.c
index 0e0ce25abb..c7345d9042 100644
--- a/drivers/spi/spi-sifive.c
+++ b/drivers/spi/spi-sifive.c
@@ -10,6 +10,7 @@
#include <dm.h>
#include <dm/device_compat.h>
#include <malloc.h>
+#include <spi.h>
#include <spi-mem.h>
#include <wait_bit.h>
#include <asm/io.h>