1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 19:05:51 +01:00

linux/mtd/mtd.h: Add <dm/ofnode.h>

We need to know where the typedef of 'ofnode' comes from.

Fixes: c86a4de8df ("mtd: Add flash_node in struct mtd_info")
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2022-04-11 17:11:21 -04:00
parent 7486c2ef9d
commit a7fb97b6e6

View File

@@ -25,6 +25,7 @@
#if IS_ENABLED(CONFIG_DM)
#include <dm/device.h>
#endif
#include <dm/ofnode.h>
#define MAX_MTD_DEVICES 32
#endif