projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dt: add empty of_machine_is_compatible
[cascardo/linux.git]
/
include
/
linux
/
of.h
diff --git
a/include/linux/of.h
b/include/linux/of.h
index
4386c5f
..
0e89aa0
100644
(file)
--- a/
include/linux/of.h
+++ b/
include/linux/of.h
@@
-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 */