linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: linux-clk@vger.kernel.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Chris Healy <cphealy@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 4/6] clk: Sync prototypes for clk_bulk_disable()
Date: Mon, 15 Jul 2019 13:12:32 -0700	[thread overview]
Message-ID: <20190715201234.13556-4-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20190715201234.13556-1-andrew.smirnov@gmail.com>

No-op version of clk_bulk_disable() should have the same protoype as
the real implementation, so constify the last argument to make it so.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-clk@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 include/linux/clk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index fafa63ea06b9..2d3f2a55795a 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -830,7 +830,7 @@ static inline void clk_disable(struct clk *clk) {}
 
 
 static inline void clk_bulk_disable(int num_clks,
-				    struct clk_bulk_data *clks) {}
+				    const struct clk_bulk_data *clks) {}
 
 static inline unsigned long clk_get_rate(struct clk *clk)
 {
-- 
2.21.0


  parent reply	other threads:[~2019-07-15 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 20:12 [PATCH 1/6] clk: Sync prototypes for clk_bulk_enable() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 2/6] clk: Sync prototypes for clk_bulk_prepare() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 3/6] clk: Constify second argument of clk_bulk_prepare_enable() Andrey Smirnov
2019-07-15 20:12 ` Andrey Smirnov [this message]
2019-07-15 20:12 ` [PATCH 5/6] clk: Sync prototypes for clk_bulk_unprepare() Andrey Smirnov
2019-07-15 20:12 ` [PATCH 6/6] clk: Constify second argument of clk_bulk_disable_unprepare() Andrey Smirnov
2019-07-15 22:00 ` [PATCH 1/6] clk: Sync prototypes for clk_bulk_enable() Stephen Boyd
2019-07-17 14:53   ` Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190715201234.13556-4-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=cphealy@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).