Commit 3fb950fe authored by Philipp Zabel's avatar Philipp Zabel Committed by Stephen Boyd

clk: rockchip: Make reset_control_ops const

The rockchip_softrst_ops structure is never modified. Make it const.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent fd92f41d
...@@ -81,7 +81,7 @@ static int rockchip_softrst_deassert(struct reset_controller_dev *rcdev, ...@@ -81,7 +81,7 @@ static int rockchip_softrst_deassert(struct reset_controller_dev *rcdev,
return 0; return 0;
} }
static struct reset_control_ops rockchip_softrst_ops = { static const struct reset_control_ops rockchip_softrst_ops = {
.assert = rockchip_softrst_assert, .assert = rockchip_softrst_assert,
.deassert = rockchip_softrst_deassert, .deassert = rockchip_softrst_deassert,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment