Skip to content

Commit

Permalink
dt: Add empty of_property_match_string() function
Browse files Browse the repository at this point in the history
This commit adds an empty of_property_match_string() function for
!CONFIG_OF builds.

Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
  • Loading branch information
Thierry Reding committed Jun 15, 2012
1 parent 8138d2d commit bd3d550
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/linux/of.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd3d550

Please sign in to comment.