diff options
| author | Sean Anderson <[email protected]> | 2020-09-15 10:44:42 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-09-30 08:52:39 -0400 |
| commit | c64633644edfeb348b8c79a66268ec805f4280c2 (patch) | |
| tree | e61231b2e3be0933473aa906eba96e69a50e40dc /drivers | |
| parent | 75eed1a113a29436f90a838b55f92209a126ea26 (diff) | |
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 <[email protected]>
Tested-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'drivers')
| -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 0113e70037f..e16b0e1462d 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> |
