projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb950f
)
clk: atlas7: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:09 +0000
(10:45 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:30:01 +0000
(16:30 -0700)
The atlas7_rst_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sirf/clk-atlas7.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/sirf/clk-atlas7.c
b/drivers/clk/sirf/clk-atlas7.c
index 957aae63e7cce2796417a96555ed5cf43bff11fd..d0c6c9a2d06ae7d87cc5fe6b1d5866e33508e314 100644
(file)
--- a/
drivers/clk/sirf/clk-atlas7.c
+++ b/
drivers/clk/sirf/clk-atlas7.c
@@
-1423,7
+1423,7
@@
static int atlas7_reset_module(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops atlas7_rst_ops = {
+static
const
struct reset_control_ops atlas7_rst_ops = {
.reset = atlas7_reset_module,
};