coresight-replicator: constify of_device_id array
authorFabian Frederick <fabf@skynet.be>
Mon, 16 Mar 2015 19:20:33 +0000 (20:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 22:22:22 +0000 (23:22 +0100)
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>
drivers/coresight/coresight-replicator.c

index cdf05537d57482ebdc83e428ebc41854650f3e39..75b9abd804e6bdf4d22d35943da29b7ecffbae91 100644 (file)
@@ -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"},
        {}
 };