From 3fb950fea6e14b159899b713ede0b7506ca03649 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 25 Feb 2016 10:45:08 +0100
Subject: [PATCH] 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
---
drivers/clk/rockchip/softrst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
--
2.20.1