Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336566
b: refs/heads/master
c: b8fbdc4
h: refs/heads/master
v: v3
  • Loading branch information
Steffen Trumtrar authored and Grant Likely committed Nov 29, 2012
1 parent c041010 commit 8b3dff2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a92a385f867b26297b736e9b9cc42bd6dbf0f2b
refs/heads/master: b8fbdc42c5c5df8ab1f358fe90e3a8a1bdc9ae48
4 changes: 2 additions & 2 deletions trunk/drivers/of/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,8 @@ EXPORT_SYMBOL_GPL(of_property_count_strings);
* Returns the device_node pointer with refcount incremented. Use
* of_node_put() on it when done.
*/
struct device_node *
of_parse_phandle(struct device_node *np, const char *phandle_name, int index)
struct device_node *of_parse_phandle(const struct device_node *np,
const char *phandle_name, int index)
{
const __be32 *phandle;
int size;
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/of.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ extern int of_n_size_cells(struct device_node *np);
extern const struct of_device_id *of_match_node(
const struct of_device_id *matches, const struct device_node *node);
extern int of_modalias_node(struct device_node *node, char *modalias, int len);
extern struct device_node *of_parse_phandle(struct device_node *np,
extern struct device_node *of_parse_phandle(const struct device_node *np,
const char *phandle_name,
int index);
extern int of_parse_phandle_with_args(struct device_node *np,
Expand Down Expand Up @@ -438,7 +438,7 @@ static inline int of_property_match_string(struct device_node *np,
return -ENOSYS;
}

static inline struct device_node *of_parse_phandle(struct device_node *np,
static inline struct device_node *of_parse_phandle(const struct device_node *np,
const char *phandle_name,
int index)
{
Expand Down

0 comments on commit 8b3dff2

Please sign in to comment.