projects
/
GitHub
/
moto-9609
/
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:
fd92f41
)
clk: rockchip: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:08 +0000
(10:45 +0100)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:29:46 +0000
(16:29 -0700)
The rockchip_softrst_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/rockchip/softrst.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/rockchip/softrst.c
b/drivers/clk/rockchip/softrst.c
index 552f7bb15bc5bf82a8678ecc084fe7c06e0cea81..21218987bbc3d55141c7f28fbb94aa03c2cdb90c 100644
(file)
--- a/
drivers/clk/rockchip/softrst.c
+++ b/
drivers/clk/rockchip/softrst.c
@@
-81,7
+81,7
@@
static int rockchip_softrst_deassert(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops rockchip_softrst_ops = {
+static
const
struct reset_control_ops rockchip_softrst_ops = {
.assert = rockchip_softrst_assert,
.deassert = rockchip_softrst_deassert,
};