Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752580AbdIANaF (ORCPT ); Fri, 1 Sep 2017 09:30:05 -0400 Received: from ozlabs.org ([103.22.144.67]:53867 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbdIANaB (ORCPT ); Fri, 1 Sep 2017 09:30:01 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 7def9a2418430a8af2a56023769ccdcdea7cd7e1 In-Reply-To: To: Arvind Yadav , paulus@samba.org, benh@kernel.crashing.org From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc: 4xx: constify platform_suspend_ops Message-Id: <3xkKqD1pfwz9t3F@ozlabs.org> Date: Fri, 1 Sep 2017 23:29:59 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 397 Lines: 12 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 Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7def9a2418430a8af2a56023769ccd cheers