powerpc: 4xx: constify platform_suspend_ops
    Michael Ellerman 
    patch-notifications at ellerman.id.au
       
    Fri Sep  1 23:29:59 AEST 2017
    
    
  
On Wed, 2017-08-30 at 16:48:20 UTC, Arvind Yadav wrote:
> platform_suspend_ops are not supposed to change at runtime.
> Functions suspend_set_ops working with const platform_suspend_ops.
> So mark the non-const structs as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7def9a2418430a8af2a56023769ccd
cheers
    
    
More information about the Linuxppc-dev
mailing list