Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269378
b: refs/heads/master
c: 36a0904
h: refs/heads/master
v: v3
  • Loading branch information
Rajendra Nayak authored and Grant Likely committed Oct 13, 2011
1 parent 72e57a6 commit 81d47ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b3754d6183797263bc6b28884323cf7842a8961
refs/heads/master: 36a0904ea0a657567122edebb95eab5f1620a5eb
13 changes: 13 additions & 0 deletions trunk/include/linux/of.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ static inline bool of_have_populated_dt(void)
#define for_each_child_of_node(parent, child) \
while (0)

static inline int of_device_is_compatible(const struct device_node *device,
const char *name)
{
return 0;
}

static inline struct property *of_find_property(const struct device_node *np,
const char *name,
int *lenp)
Expand Down Expand Up @@ -289,6 +295,13 @@ static inline int of_property_read_u64(const struct device_node *np,
return -ENOSYS;
}

static inline struct device_node *of_parse_phandle(struct device_node *np,
const char *phandle_name,
int index)
{
return NULL;
}

#define of_match_ptr(_ptr) NULL
#endif /* CONFIG_OF */

Expand Down

0 comments on commit 81d47ae

Please sign in to comment.