Skip to contentSkip to conversation

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

PATCH In review Tom Rini 1 participant 2 messages Apr 11, 2022 Memory technology devices (MTD)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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")
---
 include/linux/mtd/mtd.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/mtd/mtd.h +1 -0
index af45e63bf9c1..ff635bd71681 100644
@@ -25,6 +25,7 @@
 #if IS_ENABLED(CONFIG_DM)
 #include <dm/device.h>
 #endif
+#include <dm/ofnode.h>
 
 #define MAX_MTD_DEVICES 32
 #endif
Signature · 1 line
2.25.1
author
#1 lore raw
Quoted 4 lines · Tom Rini

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

Fixes c86a4de8df61 ("mtd: Add flash_node in struct mtd_info")

Applied to u-boot/master, thanks!

Signature · 1 line
Tom