Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723837

Re: [PATCH 1/3] clk: ux500: prcmu: constify clk_ops.

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] clk: ux500: prcmu: constify clk_ops.
Date 2017-08-31 07:30 +0200
Message-ID <ukqdc-1v4-5@gated-at.bofh.it> (permalink)
References <ujmlk-2xk-17@gated-at.bofh.it> <ujmll-2xk-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/28, Arvind Yadav wrote:
> clk_ops are not supposed to change at runtime. All functions
> working with clk_ops provided by <linux/clk-provider.h> work
> with const clk_ops. So mark the non-const clk_ops as const.
> 
> Here, Function "clk_reg_prcmu" is used to initialized clk_init_data.
> clk_init_data is working with const clk_ops. So make clk_reg_prcmu
> non-const clk_ops argument as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] clk: ux500: prcmu: constify clk_ops. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-28 09:10 +0200
  Re: [PATCH 1/3] clk: ux500: prcmu: constify clk_ops. Stephen Boyd <sboyd@codeaurora.org> - 2017-08-31 07:30 +0200

csiph-web