summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 12:45:08 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 02:29:46 +0300
commit3fb950fea6e14b159899b713ede0b7506ca03649 (patch)
treec68d384f45660319fa132d09108f7105cae9a2b2
parentfd92f41dc2527722e5fd63f859ff811482f0ce1a (diff)
downloadlinux-3fb950fea6e14b159899b713ede0b7506ca03649.tar.xz
clk: rockchip: Make reset_control_ops const
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>
-rw-r--r--drivers/clk/rockchip/softrst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/rockchip/softrst.c b/drivers/clk/rockchip/softrst.c
index 552f7bb15bc5..21218987bbc3 100644
--- 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,
};