summaryrefslogtreecommitdiff
path: root/drivers/base/devcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/devcon.c')
-rw-r--r--drivers/base/devcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devcon.c b/drivers/base/devcon.c
index f7035fc12b92..09f28479b243 100644
--- a/drivers/base/devcon.c
+++ b/drivers/base/devcon.c
@@ -133,7 +133,7 @@ static struct bus_type *generic_match_buses[] = {
NULL,
};
-static int device_fwnode_match(struct device *dev, void *fwnode)
+static int device_fwnode_match(struct device *dev, const void *fwnode)
{
return dev_fwnode(dev) == fwnode;
}