diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-02-25 10:45:07 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-29 16:29:34 -0700 |
commit | fd92f41dc2527722e5fd63f859ff811482f0ce1a (patch) | |
tree | 7292e777a6b152ecfbf1c27acccf7d9375e36604 /drivers | |
parent | f39bb4579cbf3ff174d936d37aa3669eb98370c6 (diff) | |
download | op-kernel-dev-fd92f41dc2527722e5fd63f859ff811482f0ce1a.zip op-kernel-dev-fd92f41dc2527722e5fd63f859ff811482f0ce1a.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/mmp/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/reset.c b/drivers/clk/mmp/reset.c index b54da1f..b4e4d6a 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, }; |