diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 09:55:10 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 21:55:41 +0200 |
commit | a799baab129cbe0db20a666ceae9145928fc00fe (patch) | |
tree | d7284dd9da1a7295aef420e3edc72d092cd7f9f3 /drivers/regulator | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-a799baab129cbe0db20a666ceae9145928fc00fe.tar.xz linux-a799baab129cbe0db20a666ceae9145928fc00fe.zip |
regulator: anatop: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/anatop-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c index 7c397bb81e01..4f730af70e7c 100644 --- a/drivers/regulator/anatop-regulator.c +++ b/drivers/regulator/anatop-regulator.c @@ -300,7 +300,7 @@ static int anatop_regulator_probe(struct platform_device *pdev) return 0; } -static struct of_device_id of_anatop_regulator_match_tbl[] = { +static const struct of_device_id of_anatop_regulator_match_tbl[] = { { .compatible = "fsl,anatop-regulator", }, { /* end */ } }; |