Skip to content

Commit

Permalink
dt: Add empty of_parse_phandle_with_args() function
Browse files Browse the repository at this point in the history
This commit adds an empty of_parse_phandle_with_args() 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 bd3d550 commit e05e507
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/linux/of.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ static inline struct device_node *of_parse_phandle(struct device_node *np,
return NULL;
}

static inline int of_parse_phandle_with_args(struct device_node *np,
const char *list_name,
const char *cells_name,
int index,
struct of_phandle_args *out_args)
{
return -ENOSYS;
}

static inline int of_alias_get_id(struct device_node *np, const char *stem)
{
return -ENOSYS;
Expand Down

0 comments on commit e05e507

Please sign in to comment.