Skip to content

Commit

Permalink
coresight-replicator: constify of_device_id array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Greg Kroah-Hartman committed Mar 26, 2015
1 parent 3a267d3 commit 160b7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/coresight/coresight-replicator.c
Original file line number Diff line number Diff line change
@@ -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"},
{}
};

0 comments on commit 160b7da

Please sign in to comment.