regulator: 88pm8607: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:45:05 +0000 (00:45 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 1 May 2015 16:44:55 +0000 (17:44 +0100)
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/88pm8607.c

index c3d15427adc7b2052191884aa58d3a069410016e..b100a63ff3b3f6398b649129559f8228f66265c2 100644 (file)
@@ -404,7 +404,7 @@ static int pm8607_regulator_probe(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_device_id pm8607_regulator_driver_ids[] = {
+static const struct platform_device_id pm8607_regulator_driver_ids[] = {
        {
                .name   = "88pm860x-regulator",
                .driver_data    = 0,
This page took 0.026376 seconds and 5 git commands to generate.