diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-09-15 10:44:42 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 08:52:39 -0400 |
commit | c64633644edfeb348b8c79a66268ec805f4280c2 (patch) | |
tree | e61231b2e3be0933473aa906eba96e69a50e40dc /drivers/mtd | |
parent | 75eed1a113a29436f90a838b55f92209a126ea26 (diff) | |
download | u-boot-c64633644edfeb348b8c79a66268ec805f4280c2.tar.gz |
mtd: spi: Include dm.h in spi-nor-core.c
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi/spi-nor-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index 0113e70037..e16b0e1462 100644 --- 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> |