regulator: vexpress: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 08:09:12 +0000 (17:09 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 7 May 2014 19:56:25 +0000 (20:56 +0100)
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>
drivers/regulator/vexpress.c

index f3ae28a7e66371143b6be01c9640712533faf541..147ecc7c11bf2db837c8f5069995815a7283f015 100644 (file)
@@ -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", },
        { }
 };
This page took 0.024393 seconds and 5 git commands to generate.