From: Axel Lin Date: Thu, 5 Apr 2012 03:56:56 +0000 (+0800) Subject: regulator: ad5398: Constify regulator_desc X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=487f71e6f5038ef738de6291ff572717a507129c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git regulator: ad5398: Constify regulator_desc Signed-off-by: Axel Lin Acked-by: Sonic Zhang Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c index 26d23adfc66f..1bd3e72b35cb 100644 --- a/drivers/regulator/ad5398.c +++ b/drivers/regulator/ad5398.c @@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = { .is_enabled = ad5398_is_enabled, }; -static struct regulator_desc ad5398_reg = { +static const struct regulator_desc ad5398_reg = { .name = "isink", .id = 0, .ops = &ad5398_ops,