From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485AbdHaF24 (ORCPT ); Thu, 31 Aug 2017 01:28:56 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44916 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439AbdHaF2x (ORCPT ); Thu, 31 Aug 2017 01:28:53 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EE9E562AB7 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: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 Content-Disposition: inline In-Reply-To: <1503903761-21730-3-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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Wed, 30 Aug 2017 22:28:50 -0700 Subject: [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. In-Reply-To: <1503903761-21730-3-git-send-email-arvind.yadav.cs@gmail.com> References: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> <1503903761-21730-3-git-send-email-arvind.yadav.cs@gmail.com> Message-ID: <20170831052850.GW21656@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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