diff mbox series

[4/6] clk: Sync prototypes for clk_bulk_disable()

Message ID 20190715201234.13556-4-andrew.smirnov@gmail.com (mailing list archive)
State Changes Requested, archived
Headers show
Series [1/6] clk: Sync prototypes for clk_bulk_enable() | expand

Commit Message

Andrey Smirnov July 15, 2019, 8:12 p.m. UTC
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 mbox series

Patch

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)
 {