lkml.org 
[lkml]   [2012]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 6/6] regulator: pcf50633: Constify regulator_desc
    From
    Date
    Signed-off-by: Axel Lin <axel.lin@gmail.com>
    ---
    drivers/regulator/pcf50633-regulator.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c
    index b62f4c8..43163f1 100644
    --- a/drivers/regulator/pcf50633-regulator.c
    +++ b/drivers/regulator/pcf50633-regulator.c
    @@ -267,7 +267,7 @@ static struct regulator_ops pcf50633_regulator_ops = {
    .is_enabled = pcf50633_regulator_is_enabled,
    };

    -static struct regulator_desc regulators[] = {
    +static const struct regulator_desc regulators[] = {
    [PCF50633_REGULATOR_AUTO] =
    PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 128),
    [PCF50633_REGULATOR_DOWN1] =
    --
    1.7.5.4




    \
     
     \ /
      Last update: 2012-04-05 06:05    [W:0.025 / U:90.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site