regulator: anatop: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 07:55:10 +0000 (16:55 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 7 May 2014 19:55:41 +0000 (20:55 +0100)
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>
drivers/regulator/anatop-regulator.c

index 7c397bb81e01eb3f8cba61472e4d15b47e16ddc8..4f730af70e7c8b650bc7ef144f7c147e523b5eea 100644 (file)
@@ -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 */ }
 };