Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751532AbdHaF27 (ORCPT ); Thu, 31 Aug 2017 01:28:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45048 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbdHaF25 (ORCPT ); Thu, 31 Aug 2017 01:28:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E7F5663186 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 30 Aug 2017 22:28:53 -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 3/3] clk: ux500: prcc: constify clk_ops. Message-ID: <20170831052853.GX21656@codeaurora.org> References: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> <1503903761-21730-4-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503903761-21730-4-git-send-email-arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 599 Lines: 17 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_prcc" is used to initialized clk_init_data. > clk_init_data is working with const clk_ops. So make clk_reg_prcc > 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