Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / iio / inkern.c
index 2fb2314548e9134151e854af1dc834e987437b8a..5a8351c9a426591b9374445b4cc1182aeed2c2f9 100644 (file)
@@ -90,7 +90,7 @@ static const struct iio_chan_spec
 
 #ifdef CONFIG_OF
 
-static int iio_dev_node_match(struct device *dev, void *data)
+static int iio_dev_node_match(struct device *dev, const void *data)
 {
        return dev->of_node == data && dev->type == &iio_device_type;
 }