aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index b8b65fddbeb5..57ec27bed44f 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -639,7 +639,7 @@ EXPORT_SYMBOL_GPL(of_property_read_u32);
639 * The out_string pointer is modified only if a valid string can be decoded. 639 * The out_string pointer is modified only if a valid string can be decoded.
640 */ 640 */
641int of_property_read_string(struct device_node *np, char *propname, 641int of_property_read_string(struct device_node *np, char *propname,
642 char **out_string) 642 const char **out_string)
643{ 643{
644 struct property *prop = of_find_property(np, propname, NULL); 644 struct property *prop = of_find_property(np, propname, NULL);
645 if (!prop) 645 if (!prop)