summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-06-02 11:54:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-07 12:46:13 +0200
commit861aad0a36b7a521505a66cb254d07f948d5647b (patch)
treecc763b7fcf07955c81a9d3f054eb8eec42d1959c /include
parent4792ae3ea7a5fee622a9c22b975d405fe11da1bd (diff)
downloadbarebox-861aad0a36b7a521505a66cb254d07f948d5647b.tar.gz
barebox-861aad0a36b7a521505a66cb254d07f948d5647b.tar.xz
clk: divider: Make clk_mux_ops const
clk_mux_ops shouldn't be changed, so make it const. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210602095507.24609-9-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index e1db903d74..ede2b676fe 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -503,7 +503,7 @@ struct clk_mux {
#define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw)
-extern struct clk_ops clk_mux_ops;
+extern const struct clk_ops clk_mux_ops;
struct clk *clk_mux_alloc(const char *name, unsigned clk_flags,
void __iomem *reg, u8 shift, u8 width,