From: Philipp Zabel
Date: Thu, 25 Feb 2016 09:45:08 +0000 (+0100)
Subject: clk: rockchip: Make reset_control_ops const
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fb950fea6e14b159899b713ede0b7506ca03649;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git
clk: rockchip: Make reset_control_ops const
The rockchip_softrst_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Reviewed-by: Heiko Stuebner
Signed-off-by: Stephen Boyd
---
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,
};