]> Git Repo - linux.git/commitdiff
regulator: vexpress: Make of_device_id array const
authorJingoo Han <[email protected]>
Wed, 7 May 2014 08:09:12 +0000 (17:09 +0900)
committerMark Brown <[email protected]>
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 <[email protected]>
Acked-by: Pawel Moll <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
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.059901 seconds and 4 git commands to generate.