aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2014-05-07 17:09:12 +0900
committerMark Brown <[email protected]>2014-05-07 20:56:25 +0100
commit1439afd8dba5ae552c439309286e54ffd3a97abc (patch)
tree6302f5d9e57e6b8513cec28ba0fc18c62da2b170
parenta74cf0c207c4711138831e5a5988e507d4c9ad5a (diff)
regulator: vexpress: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <[email protected]> Acked-by: Pawel Moll <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/regulator/vexpress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c
index f3ae28a7e663..147ecc7c11bf 100644
--- a/drivers/regulator/vexpress.c
+++ b/drivers/regulator/vexpress.c
@@ -123,7 +123,7 @@ static int vexpress_regulator_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id vexpress_regulator_of_match[] = {
+static const struct of_device_id vexpress_regulator_of_match[] = {
{ .compatible = "arm,vexpress-volt", },
{ }
};