From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 30 Aug 2017 22:28:50 -0700 From: Stephen Boyd To: Arvind Yadav Cc: mturquette@baylibre.com, ulf.hansson@linaro.org, linus.walleij@linaro.org, mturquette@linaro.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. Message-ID: <20170831052850.GW21656@codeaurora.org> References: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> <1503903761-21730-3-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1503903761-21730-3-git-send-email-arvind.yadav.cs@gmail.com> List-ID: On 08/28, Arvind Yadav wrote: > clk_ops are not supposed to change at runtime. All functions > working with clk_ops provided by work > with const clk_ops. So mark the non-const clk_ops as const. > > Here, Function "clk_reg_sysctrl" is used to initialized clk_init_data. > clk_init_data is working with const clk_ops. So make clk_reg_sysctrl > non-const clk_ops argument as const. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project