[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lsq.1438473757.233160687@decadent.org.uk>
Date: Sun, 02 Aug 2015 01:02:37 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
CC: akpm@...ux-foundation.org,
"Jonathan Toppins" <jtoppins@...ulusnetworks.com>,
"Rob Herring" <rob.herring@...xeda.com>,
"Thierry Reding" <thierry.reding@...onic-design.de>
Subject: [PATCH 3.2 130/164] dt: Add empty of_property_match_string() function
3.2.70-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Thierry Reding <thierry.reding@...onic-design.de>
commit bd3d5500f0c41a30149cb184362716096a17bc75 upstream.
This commit adds an empty of_property_match_string() function for
!CONFIG_OF builds.
Acked-by: Rob Herring <rob.herring@...xeda.com>
Signed-off-by: Thierry Reding <thierry.reding@...onic-design.de>
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
Cc: Jonathan Toppins <jtoppins@...ulusnetworks.com>
---
include/linux/of.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/linux/of.h b/include/linux/of.h
index 2ec1083..597e571 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists