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 04db9ae235e4..ac026d5fc672 100644 --- a/drivers/base/devcon.c +++ b/drivers/base/devcon.c | |||
@@ -107,7 +107,7 @@ static struct bus_type *generic_match_buses[] = { | |||
107 | NULL, | 107 | NULL, |
108 | }; | 108 | }; |
109 | 109 | ||
110 | static int device_fwnode_match(struct device *dev, void *fwnode) | 110 | static int device_fwnode_match(struct device *dev, const void *fwnode) |
111 | { | 111 | { |
112 | return dev_fwnode(dev) == fwnode; | 112 | return dev_fwnode(dev) == fwnode; |
113 | } | 113 | } |