From: Axel Lin Date: Fri, 6 Apr 2012 00:26:59 +0000 (+0800) Subject: regulator: max8660: Constify regulator_desc X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=621adb30ace17799f24d17b1df1aa0f69081f71b;p=deliverable%2Flinux.git regulator: max8660: Constify regulator_desc Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max8660.c b/drivers/regulator/max8660.c index 4c5b05311f47..880bd56a2a92 100644 --- a/drivers/regulator/max8660.c +++ b/drivers/regulator/max8660.c @@ -313,7 +313,7 @@ static struct regulator_ops max8660_ldo67_ops = { .set_voltage = max8660_ldo67_set, }; -static struct regulator_desc max8660_reg[] = { +static const struct regulator_desc max8660_reg[] = { { .name = "V3(DCDC)", .id = MAX8660_V3,