* [PATCH] linux/mtd/mtd.h: Add <dm/ofnode.h>
@ 2022-04-11 21:12 Tom Rini
2022-04-11 21:51 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2022-04-11 21:12 UTC (permalink / raw)
To: u-boot
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>
---
include/linux/mtd/mtd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index af45e63bf9c1..ff635bd71681 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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-11 21:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 21:12 [PATCH] linux/mtd/mtd.h: Add <dm/ofnode.h> Tom Rini
2022-04-11 21:51 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.