dt: add empty of_machine_is_compatible
[cascardo/linux.git] / include / linux / of.h
index 4386c5f..0e89aa0 100644 (file)
@@ -326,6 +326,11 @@ static inline int of_alias_get_id(struct device_node *np, const char *stem)
        return -ENOSYS;
 }
 
+static inline int of_machine_is_compatible(const char *compat)
+{
+       return 0;
+}
+
 #define of_match_ptr(_ptr)     NULL
 #define of_match_node(_matches, _node) NULL
 #endif /* CONFIG_OF */