Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbdH1HDr (ORCPT ); Mon, 28 Aug 2017 03:03:47 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:37677 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230AbdH1HDo (ORCPT ); Mon, 28 Aug 2017 03:03:44 -0400 From: Arvind Yadav To: sboyd@codeaurora.org, mturquette@baylibre.com, ulf.hansson@linaro.org, linus.walleij@linaro.org, mturquette@linaro.org Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] constify ux500 clk_ops. Date: Mon, 28 Aug 2017 12:32:38 +0530 Message-Id: <1503903761-21730-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 20 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. Arvind Yadav (3): [PATCH 1/3] clk: ux500: prcmu: constify clk_ops. [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. [PATCH 3/3] clk: ux500: prcc: constify clk_ops. drivers/clk/ux500/clk-prcc.c | 6 +++--- drivers/clk/ux500/clk-prcmu.c | 14 +++++++------- drivers/clk/ux500/clk-sysctrl.c | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) -- 1.9.1