From: Mark Brown Date: Tue, 3 Apr 2012 19:47:15 +0000 (+0100) Subject: regulator: wm8350: Constify regulator_desc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=47924b6ae1c7a7fafd5d110fb1af9923c2d5e216;p=linux-beck.git regulator: wm8350: Constify regulator_desc Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c index ab1e183a74b5..552b1edf8091 100644 --- a/drivers/regulator/wm8350-regulator.c +++ b/drivers/regulator/wm8350-regulator.c @@ -1269,7 +1269,7 @@ static struct regulator_ops wm8350_isink_ops = { .enable_time = wm8350_isink_enable_time, }; -static struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = { +static const struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = { { .name = "DCDC1", .id = WM8350_DCDC_1,