summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:07 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 01:29:34 +0200
commitfd92f41dc2527722e5fd63f859ff811482f0ce1a (patch)
tree7292e777a6b152ecfbf1c27acccf7d9375e36604
parentclk: mediatek: Make reset_control_ops const (diff)
downloadlinux-fd92f41dc2527722e5fd63f859ff811482f0ce1a.tar.xz
linux-fd92f41dc2527722e5fd63f859ff811482f0ce1a.zip
clk: mmp: Make reset_control_ops const
The mmp_clk_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/clk/mmp/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/reset.c b/drivers/clk/mmp/reset.c
index b54da1fe73f0..b4e4d6aa2631 100644
--- a/drivers/clk/mmp/reset.c
+++ b/drivers/clk/mmp/reset.c
@@ -74,7 +74,7 @@ static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops mmp_clk_reset_ops = {
+static const struct reset_control_ops mmp_clk_reset_ops = {
.assert = mmp_clk_reset_assert,
.deassert = mmp_clk_reset_deassert,
};