diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 11:55:10 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 23:55:41 +0400 |
commit | a799baab129cbe0db20a666ceae9145928fc00fe (patch) | |
tree | d7284dd9da1a7295aef420e3edc72d092cd7f9f3 /drivers/regulator/anatop-regulator.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
download | linux-a799baab129cbe0db20a666ceae9145928fc00fe.tar.xz |
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/anatop-regulator.c')
-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 */ } }; |