linux/mtd/mtd.h: Add <dm/ofnode.h>
authorTom Rini <trini@konsulko.com>
Mon, 11 Apr 2022 21:11:21 +0000 (17:11 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 11 Apr 2022 21:11:21 +0000 (17:11 -0400)
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

index af45e63..ff635bd 100644 (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