diff options
Diffstat (limited to 'include/dm/ofnode.h')
-rw-r--r-- | include/dm/ofnode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 5b088650d3b..5318d650357 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -379,6 +379,8 @@ bool ofnode_read_bool(ofnode node, const char *propname); ofnode ofnode_find_subnode(ofnode node, const char *subnode_name); #if CONFIG_IS_ENABLED(DM_INLINE_OFNODE) +#include <asm/global_data.h> + static inline bool ofnode_is_enabled(ofnode node) { if (ofnode_is_np(node)) { |