summaryrefslogtreecommitdiff
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-04-13 18:19:21 +0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-06-15 14:56:55 +0400
commite05e5070f0ec2557d2d2ff3655ba03f29e297151 (patch)
treed667bc23ed0f80f1080e49484e9d1fb92ee04f31 /include/linux/of.h
parentbd3d5500f0c41a30149cb184362716096a17bc75 (diff)
downloadlinux-e05e5070f0ec2557d2d2ff3655ba03f29e297151.tar.xz
dt: Add empty of_parse_phandle_with_args() function
This commit adds an empty of_parse_phandle_with_args() function for !CONFIG_OF builds. Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 597e571110a2..d5dd5c06efd3 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -391,6 +391,15 @@ static inline struct device_node *of_parse_phandle(struct device_node *np,
return NULL;
}
+static inline int of_parse_phandle_with_args(struct device_node *np,
+ const char *list_name,
+ const char *cells_name,
+ int index,
+ struct of_phandle_args *out_args)
+{
+ return -ENOSYS;
+}
+
static inline int of_alias_get_id(struct device_node *np, const char *stem)
{
return -ENOSYS;