Skip to content

Commit b51d4a6

Browse files
committed
iio: cf_axi_dds: fix function type
Got changed in newer kernels. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
1 parent 81f4a4f commit b51d4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/frequency/cf_axi_dds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ static const struct file_operations cf_axi_dds_debugfs_fops = {
14081408
.write = cf_axi_dds_debugfs_write,
14091409
};
14101410

1411-
static int dds_converter_match(struct device *dev, void *data)
1411+
static int dds_converter_match(struct device *dev, const void *data)
14121412
{
14131413
return dev->driver && dev->of_node == data;
14141414
}

0 commit comments

Comments
 (0)