summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 19:20:33 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 22:22:22 (GMT)
commit160b7daab96636d089fee4e0487da49c70ca4e15 (patch)
tree8291394673f36be1977d10cc4b87430b74919fc1
parent3a267d3b22f56bf5ba379c20604fd28409119698 (diff)
downloadlinux-160b7daab96636d089fee4e0487da49c70ca4e15.tar.xz
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 cdf0553..75b9abd 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"},
{}
};