]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/4xx: Constify cpm_suspend_ops
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 30 Aug 2017 16:48:20 +0000 (22:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 09:56:33 +0000 (19:56 +1000)
commit7def9a2418430a8af2a56023769ccdcdea7cd7e1
treef92a8bb8a64f7f06a624a0afbd2618acfe41627b
parent96d91431d6915073c539c8bdd439b4c863148fc1
powerpc/4xx: Constify cpm_suspend_ops

struct 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@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/4xx/cpm.c