From c64633644edfeb348b8c79a66268ec805f4280c2 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Tue, 15 Sep 2020 10:44:42 -0400 Subject: [PATCH] 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 Tested-by: Patrick Delaunay --- drivers/mtd/spi/spi-nor-core.c | 1 + 1 file changed, 1 insertion(+) 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 #include +#include #include #include #include -- 2.39.5