diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:09:12 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 20:56:25 +0100 |
commit | 1439afd8dba5ae552c439309286e54ffd3a97abc (patch) | |
tree | 6302f5d9e57e6b8513cec28ba0fc18c62da2b170 /drivers/regulator | |
parent | a74cf0c207c4711138831e5a5988e507d4c9ad5a (diff) | |
download | op-kernel-dev-1439afd8dba5ae552c439309286e54ffd3a97abc.zip op-kernel-dev-1439afd8dba5ae552c439309286e54ffd3a97abc.tar.gz |
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 f3ae28a..147ecc7 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", }, { } }; |