From: Axel Lin Date: Fri, 6 Apr 2012 00:26:06 +0000 (+0800) Subject: regulator: max8649: Constify regulator_desc X-Git-Tag: firefly_0821_release~3680^2~2855^2~58^3~52^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=09de3473c7724d7a1db7596acc2ce411e5e72f63;p=firefly-linux-kernel-4.4.55.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,