projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0583fe4
)
OF: add empty of_device_is_available for !OF
author
Rob Herring
<rob.herring@calxeda.com>
Wed, 20 Mar 2013 21:56:18 +0000
(16:56 -0500)
committer
Rob Herring
<rob.herring@calxeda.com>
Thu, 11 Apr 2013 20:11:16 +0000
(15:11 -0500)
Add an empty version of of_device_is_available.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
include/linux/of.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/of.h
b/include/linux/of.h
index a0f129284948e86bde078d794dd35fbe37629acd..95c8583688bd8092eb8dc68a1c6fecab30858eea 100644
(file)
--- a/
include/linux/of.h
+++ b/
include/linux/of.h
@@
-379,6
+379,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)