regulator: da9*: constify regulator_ops structures
[deliverable/linux.git] / drivers / regulator / da9055-regulator.c
index cafdafbffcafbe11842ae6586227ba5616a1a9e0..d029c941a1e10af66e169e9bcfaef3115889ed75 100644 (file)
@@ -324,7 +324,7 @@ static int da9055_suspend_disable(struct regulator_dev *rdev)
                return 0;
 }
 
-static struct regulator_ops da9055_buck_ops = {
+static const struct regulator_ops da9055_buck_ops = {
        .get_mode = da9055_buck_get_mode,
        .set_mode = da9055_buck_set_mode,
 
@@ -345,7 +345,7 @@ static struct regulator_ops da9055_buck_ops = {
        .set_suspend_mode = da9055_buck_set_mode,
 };
 
-static struct regulator_ops da9055_ldo_ops = {
+static const struct regulator_ops da9055_ldo_ops = {
        .get_mode = da9055_ldo_get_mode,
        .set_mode = da9055_ldo_set_mode,
 
This page took 0.025995 seconds and 5 git commands to generate.