diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 04:09:12 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:56:25 -0400 |
commit | 1439afd8dba5ae552c439309286e54ffd3a97abc (patch) | |
tree | 6302f5d9e57e6b8513cec28ba0fc18c62da2b170 /drivers/regulator | |
parent | a74cf0c207c4711138831e5a5988e507d4c9ad5a (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 <jg1.han@samsung.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/vexpress.c | 2 |
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) | |||
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |
125 | 125 | ||
126 | static struct of_device_id vexpress_regulator_of_match[] = { | 126 | static const struct of_device_id vexpress_regulator_of_match[] = { |
127 | { .compatible = "arm,vexpress-volt", }, | 127 | { .compatible = "arm,vexpress-volt", }, |
128 | { } | 128 | { } |
129 | }; | 129 | }; |