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

    diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c
    index 6539ef9..eee6f6b 100644
    --- a/drivers/regulator/isl6271a-regulator.c
    +++ b/drivers/regulator/isl6271a-regulator.c
    @@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = {
    .list_voltage = isl6271a_list_fixed_voltage,
    };

    -static struct regulator_desc isl_rd[] = {
    +static const struct regulator_desc isl_rd[] = {
    {
    .name = "Core Buck",
    .id = 0,
    --
    1.7.5.4




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