From: Axel Lin Date: Fri, 6 Apr 2012 00:26:06 +0000 (+0800) Subject: regulator: max8649: Constify regulator_desc X-Git-Tag: v3.5-rc1~177^2~58^3~52^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=09de3473c7724d7a1db7596acc2ce411e5e72f63;p=~emulex%2Finfiniband.git regulator: max8649: Constify regulator_desc Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c index 824c650436e..aa91ec60fa0 100644 --- a/drivers/regulator/max8649.c +++ b/drivers/regulator/max8649.c @@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = { }; -static struct regulator_desc dcdc_desc = { +static const struct regulator_desc dcdc_desc = { .name = "max8649", .ops = &max8649_dcdc_ops, .type = REGULATOR_VOLTAGE,