Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256780
b: refs/heads/master
c: f09bc83
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and Grant Likely committed Jul 4, 2011
1 parent 469dfbb commit 6e65ddb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: a3b853633d78c3930b513ee219df48637ac82eed
refs/heads/master: f09bc831b7693f93ecb95dea7180d55b45b88e76
2 changes: 1 addition & 1 deletion trunk/drivers/of/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u32);
* The out_string pointer is modified only if a valid string can be decoded.
*/
int of_property_read_string(struct device_node *np, char *propname,
char **out_string)
const char **out_string)
{
struct property *prop = of_find_property(np, propname, NULL);
if (!prop)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/of.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ extern struct property *of_find_property(const struct device_node *np,
extern int of_property_read_u32(struct device_node *np, char *propname,
u32 *out_value);
extern int of_property_read_string(struct device_node *np, char *propname,
char **out_string);
const char **out_string);
extern int of_device_is_compatible(const struct device_node *device,
const char *);
extern int of_device_is_available(const struct device_node *device);
Expand Down

0 comments on commit 6e65ddb

Please sign in to comment.