diff options
Diffstat (limited to 'drivers/base/devcon.c')
-rw-r--r-- | drivers/base/devcon.c | 2 |
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[] = { | |||
133 | NULL, | 133 | NULL, |
134 | }; | 134 | }; |
135 | 135 | ||
136 | static int device_fwnode_match(struct device *dev, void *fwnode) | 136 | static int device_fwnode_match(struct device *dev, const void *fwnode) |
137 | { | 137 | { |
138 | return dev_fwnode(dev) == fwnode; | 138 | return dev_fwnode(dev) == fwnode; |
139 | } | 139 | } |