From aaa1313af27328935de04dcb318ee1e51e61b862 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Tue, 25 Oct 2011 14:01:26 +0200 Subject: [PATCH] --- yaml --- r: 273549 b: refs/heads/master c: 50e07f888cb24b55e0d8283f631907794dd757c2 h: refs/heads/master i: 273547: fab255b72c95fa8d24422468ada77b38c6ee412b v: v3 --- [refs] | 2 +- trunk/include/linux/of.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e387a4fff892..59c017bf6172 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3983138c017b6aeab6ce3dbb1e9afbe80bdac496 +refs/heads/master: 50e07f888cb24b55e0d8283f631907794dd757c2 diff --git a/trunk/include/linux/of.h b/trunk/include/linux/of.h index 4386c5fee57c..0e89aa0bf07a 100644 --- a/trunk/include/linux/of.h +++ b/trunk/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 */