]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi: Include dm.h in spi-nor-core.c
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:42 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:39 +0000 (08:52 -0400)
This header is needed so struct udevice can be used in dev_xxx().

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/spi/spi-nor-core.c

index 0113e70037f7eb5c30b4415abf0178aa66904681..e16b0e1462d8fa0045b647cba10d418dba8eacd8 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <log.h>
+#include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <linux/bitops.h>