projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7486c2e
)
linux/mtd/mtd.h: Add <dm/ofnode.h>
author
Tom Rini
<trini@konsulko.com>
Mon, 11 Apr 2022 21:11:21 +0000
(17:11 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/include/linux/mtd/mtd.h
b/include/linux/mtd/mtd.h
index af45e63bf9c1202299485b43b7489498433e5943..ff635bd71681f78b6aa8cd4965d793f0b3ae75ad 100644
(file)
--- 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