[PATCH] 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 --- 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

On Mon, Apr 11, 2022 at 05:12:15PM -0400, Tom Rini wrote:
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
Applied to u-boot/master, thanks!
participants (1)
-
Tom Rini