[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190715201234.13556-6-andrew.smirnov@gmail.com>
Date: Mon, 15 Jul 2019 13:12:34 -0700
From: Andrey Smirnov <andrew.smirnov@...il.com>
To: linux-clk@...r.kernel.org
Cc: Andrey Smirnov <andrew.smirnov@...il.com>,
Russell King <linux@...linux.org.uk>,
Chris Healy <cphealy@...il.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 6/6] clk: Constify second argument of clk_bulk_disable_unprepare()
Both clk_bulk_disable() and clk_bulk_unprepare() take const struct
clk_bulk_data, so change clk_bulk_disable_unprepare() to do so as
well. No functional change intended.
Signed-off-by: Andrey Smirnov <andrew.smirnov@...il.com>
Cc: Russell King <linux@...linux.org.uk>
Cc: Chris Healy <cphealy@...il.com>
Cc: linux-clk@...r.kernel.org
Cc: linux-kernel@...r.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 3956ae05b1cf..7a795fd6d141 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -936,7 +936,7 @@ clk_bulk_prepare_enable(int num_clks, const struct clk_bulk_data *clks)
}
static inline void clk_bulk_disable_unprepare(int num_clks,
- struct clk_bulk_data *clks)
+ const struct clk_bulk_data *clks)
{
clk_bulk_disable(num_clks, clks);
clk_bulk_unprepare(num_clks, clks);
--
2.21.0
Powered by blists - more mailing lists