aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/of_coresight.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers/hwtracing/coresight/of_coresight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/of_coresight.c b/drivers/hwtracing/coresight/of_coresight.c
index 7045930fc958..3fc200ec1c03 100644
--- a/drivers/hwtracing/coresight/of_coresight.c
+++ b/drivers/hwtracing/coresight/of_coresight.c
@@ -18,7 +18,7 @@
#include <asm/smp_plat.h>
-static int of_dev_node_match(struct device *dev, void *data)
+static int of_dev_node_match(struct device *dev, const void *data)
{
return dev->of_node == data;
}