lkml.org 
[lkml]   [2012]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    SubjectRE: [PATCH 1/6] regulator: ad5398: Constify regulator_desc
    Acked-by: Sonic Zhang <sonic.zhang@analog.com>

    -----Original Message-----
    From: Axel Lin [mailto:axel.lin@gmail.com]
    Sent: Thursday, April 05, 2012 11:57 AM
    To: linux-kernel@vger.kernel.org
    Cc: Zhang, Sonic; Liam Girdwood; Mark Brown
    Subject: [PATCH 1/6] regulator: ad5398: Constify regulator_desc

    Signed-off-by: Axel Lin <axel.lin@gmail.com>
    ---
    drivers/regulator/ad5398.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c
    index 7d51793..9ba69c4 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,
    --
    1.7.5.4



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