From: Axel Lin Date: Fri, 6 Apr 2012 00:26:06 +0000 (+0800) Subject: regulator: max8649: Constify regulator_desc X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=09de3473c7724d7a1db7596acc2ce411e5e72f63;p=deliverable%2Flinux.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 824c650436ed..aa91ec60fa08 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,