projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75eed1a
)
mtd: spi: Include dm.h in spi-nor-core.c
author
Sean Anderson
<seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:42 +0000
(10:44 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spi-nor-core.c
b/drivers/mtd/spi/spi-nor-core.c
index 0113e70037f7eb5c30b4415abf0178aa66904681..e16b0e1462d8fa0045b647cba10d418dba8eacd8 100644
(file)
--- a/
drivers/mtd/spi/spi-nor-core.c
+++ b/
drivers/mtd/spi/spi-nor-core.c
@@
-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>