lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/10] Constify struct platform_suspend_ops for 2.6.32-git-053fe57ac v2
    Date
    From: Emese Revfy <re.emese@gmail.com>


    Signed-off-by: Emese Revfy <re.emese@gmail.com>
    ---
    arch/blackfin/mach-common/pm.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c
    index 8837be4..b2fb413 100644
    --- a/arch/blackfin/mach-common/pm.c
    +++ b/arch/blackfin/mach-common/pm.c
    @@ -255,7 +255,7 @@ static int bfin_pm_enter(suspend_state_t state)
    return 0;
    }

    -struct platform_suspend_ops bfin_pm_ops = {
    +const struct platform_suspend_ops bfin_pm_ops = {
    .enter = bfin_pm_enter,
    .valid = bfin_pm_valid,
    };
    --
    1.6.5.3


    \
     
     \ /
      Last update: 2009-12-14 01:09    [W:0.038 / U:60.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site