aboutsummaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorGravatar Rob Herring <robh@kernel.org> 2018-03-08 09:21:07 -0600
committerGravatar Rob Herring <robh@kernel.org> 2018-03-08 09:21:07 -0600
commitc679fa6e3aaa5c58fc514b5b88cfa82774b8d390 (patch)
tree0c10b339368bd1795152a66a4e245e6f654fb3ec /drivers/of
parentof: unittest: fix an error test in of_unittest_overlay_8() (diff)
parentscripts: turn off some new dtc warnings by default (diff)
downloadlinux-c679fa6e3aaa5c58fc514b5b88cfa82774b8d390.tar.gz
linux-c679fa6e3aaa5c58fc514b5b88cfa82774b8d390.tar.bz2
linux-c679fa6e3aaa5c58fc514b5b88cfa82774b8d390.zip
Merge branch 'dtc-update' into dt/next
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/property.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/property.c b/drivers/of/property.c
index 36ed84e26d9c..f46828e3b082 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -977,11 +977,11 @@ static int of_fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
return 0;
}
-static void *
+static const void *
of_fwnode_device_get_match_data(const struct fwnode_handle *fwnode,
const struct device *dev)
{
- return (void *)of_device_get_match_data(dev);
+ return of_device_get_match_data(dev);
}
const struct fwnode_operations of_fwnode_ops = {