diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 03:55:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:55:41 -0400 |
commit | a799baab129cbe0db20a666ceae9145928fc00fe (patch) | |
tree | d7284dd9da1a7295aef420e3edc72d092cd7f9f3 /drivers/regulator/anatop-regulator.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
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) | |||
300 | return 0; | 300 | return 0; |
301 | } | 301 | } |
302 | 302 | ||
303 | static struct of_device_id of_anatop_regulator_match_tbl[] = { | 303 | static const struct of_device_id of_anatop_regulator_match_tbl[] = { |
304 | { .compatible = "fsl,anatop-regulator", }, | 304 | { .compatible = "fsl,anatop-regulator", }, |
305 | { /* end */ } | 305 | { /* end */ } |
306 | }; | 306 | }; |