From: Fabian Frederick Date: Mon, 16 Mar 2015 19:20:33 +0000 (+0100) Subject: coresight-replicator: constify of_device_id array X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=160b7daab96636d089fee4e0487da49c70ca4e15;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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"}, {} };