summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-11 17:11:21 -0400
committerTom Rini <trini@konsulko.com>2022-04-11 17:11:21 -0400
commita7fb97b6e6e00d80705700671a26cb127c01430b (patch)
treef6a3fd75b583777864b3430add287534ee3a0f17
parent7486c2ef9d296ad34be1567b8d26f978e683bece (diff)
downloadu-boot-a7fb97b6e6e00d80705700671a26cb127c01430b.tar.gz
u-boot-a7fb97b6e6e00d80705700671a26cb127c01430b.tar.bz2
u-boot-a7fb97b6e6e00d80705700671a26cb127c01430b.zip
linux/mtd/mtd.h: Add <dm/ofnode.h>
We need to know where the typedef of 'ofnode' comes from. Fixes: c86a4de8df61 ("mtd: Add flash_node in struct mtd_info") Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/linux/mtd/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index af45e63bf9..ff635bd716 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -25,6 +25,7 @@
#if IS_ENABLED(CONFIG_DM)
#include <dm/device.h>
#endif
+#include <dm/ofnode.h>
#define MAX_MTD_DEVICES 32
#endif