summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:20:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 23:22:22 +0100
commit160b7daab96636d089fee4e0487da49c70ca4e15 (patch)
tree8291394673f36be1977d10cc4b87430b74919fc1
parent3a267d3b22f56bf5ba379c20604fd28409119698 (diff)
coresight-replicator: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/coresight/coresight-replicator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/coresight/coresight-replicator.c b/drivers/coresight/coresight-replicator.c
index cdf05537d574..75b9abd804e6 100644
--- a/drivers/coresight/coresight-replicator.c
+++ b/drivers/coresight/coresight-replicator.c
@@ -107,7 +107,7 @@ static int replicator_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id replicator_match[] = {
+static const struct of_device_id replicator_match[] = {
{.compatible = "arm,coresight-replicator"},
{}
};