From 0201ef482515f5fc7d02b4f02e25c8c2f4630910 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Thu, 3 Nov 2011 23:32:20 -0400 Subject: [PATCH] --- yaml --- r: 273548 b: refs/heads/master c: 3983138c017b6aeab6ce3dbb1e9afbe80bdac496 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/of.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c8925c1960db..e387a4fff892 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 02aac316abf436a7529d46a71f7083f9f9ef4b49 +refs/heads/master: 3983138c017b6aeab6ce3dbb1e9afbe80bdac496 diff --git a/trunk/include/linux/of.h b/trunk/include/linux/of.h index f01ba8a209c0..4386c5fee57c 100644 --- a/trunk/include/linux/of.h +++ b/trunk/include/linux/of.h @@ -321,6 +321,11 @@ static inline struct device_node *of_parse_phandle(struct device_node *np, return NULL; } +static inline int of_alias_get_id(struct device_node *np, const char *stem) +{ + return -ENOSYS; +} + #define of_match_ptr(_ptr) NULL #define of_match_node(_matches, _node) NULL #endif /* CONFIG_OF */