Skip to content

Commit

Permalink
iio: cf_axi_dds: fix function type
Browse files Browse the repository at this point in the history
Got changed in newer kernels.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
  • Loading branch information
commodo committed Jul 20, 2020
1 parent 81f4a4f commit b51d4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/frequency/cf_axi_dds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ static const struct file_operations cf_axi_dds_debugfs_fops = {
.write = cf_axi_dds_debugfs_write,
};

static int dds_converter_match(struct device *dev, void *data)
static int dds_converter_match(struct device *dev, const void *data)
{
return dev->driver && dev->of_node == data;
}
Expand Down

0 comments on commit b51d4a6

Please sign in to comment.