DORMANTno replies

[PATCH v2] of: Add empty of_device_is_available() function

From: Nobuhiro Iwamatsu <hidden>
Date: 2013-02-14 00:37:12
Subsystem: open firmware and flattened device tree, the rest · Maintainers: Rob Herring, Saravana Kannan, Linus Torvalds

This commit adds an empty of_device_is_available() function for
!CONFIG_OF builds.

Signed-off-by: Nobuhiro Iwamatsu <redacted>
---
V1: Fix email address.

 include/linux/of.h |    5 +++++
 1 file changed, 5 insertions(+)
diff --git a/include/linux/of.h b/include/linux/of.h
index 5ebcc5c..0be17ad 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -377,6 +377,11 @@ static inline int of_device_is_compatible(const struct device_node *device,
 	return 0;
 }
 
+static inline int of_device_is_available(const struct device_node *device)
+{
+	return 0;
+}
+
 static inline struct property *of_find_property(const struct device_node *np,
 						const char *name,
 						int *lenp)
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help