diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-09 02:24:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-09 02:24:27 +0100 |
commit | ee0849c9114a45c1ecd6136623a25f95892c59fe (patch) | |
tree | b2c1b21f11e724795f569c75405beb6918fcf272 /include | |
parent | Merge tag 'spi-for-linus' of git://git.secretlab.ca/git/linux-2.6 (diff) | |
parent | Merge branch 'fixes-for-grant' of git://sources.calxeda.com/kernel/linux into... (diff) | |
download | linux-ee0849c9114a45c1ecd6136623a25f95892c59fe.tar.xz linux-ee0849c9114a45c1ecd6136623a25f95892c59fe.zip |
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6
Pull minor devicetree bug fixes and documentation updates from Grant Likely:
"Fixes up a duplicate #include, adds an empty implementation of
of_find_compatible_node() and make git ignore .dtb files. And fix up
bus name on OF described PHYs. Nothing exciting here."
* tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6:
doc: dt: Fix broken reference in gpio-leds documentation
of/mdio: fix fixed link bus name
of/fdt.c: asm/setup.h included twice
of: add picochip vendor prefix
dt: add empty of_find_compatible_node function
ARM: devicetree: Add .dtb files to arch/arm/boot/.gitignore
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index a75a831e2057..92cf6ad35e0e 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -281,6 +281,14 @@ static inline struct property *of_find_property(const struct device_node *np, return NULL; } +static inline struct device_node *of_find_compatible_node( + struct device_node *from, + const char *type, + const char *compat) +{ + return NULL; +} + static inline int of_property_read_u32_array(const struct device_node *np, const char *propname, u32 *out_values, size_t sz) |