From: Thierry Reding Date: Fri, 13 Apr 2012 14:18:34 +0000 (+0200) Subject: dt: Add empty of_property_match_string() function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd3d5500f0c41a30149cb184362716096a17bc75;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git dt: Add empty of_property_match_string() function This commit adds an empty of_property_match_string() function for !CONFIG_OF builds. Acked-by: Rob Herring Signed-off-by: Thierry Reding --- diff --git a/include/linux/of.h b/include/linux/of.h index 2ec1083af7ff..597e571110a2 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -377,6 +377,13 @@ static inline int of_property_read_u64(const struct device_node *np, return -ENOSYS; } +static inline int of_property_match_string(struct device_node *np, + const char *propname, + const char *string) +{ + return -ENOSYS; +} + static inline struct device_node *of_parse_phandle(struct device_node *np, const char *phandle_name, int index)