summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 12:45:06 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 02:29:19 +0300
commitf39bb4579cbf3ff174d936d37aa3669eb98370c6 (patch)
tree6035b813959d1b85b050c6e0ebddeef67aa92f10 /drivers/clk
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-f39bb4579cbf3ff174d936d37aa3669eb98370c6.tar.xz
clk: mediatek: Make reset_control_ops const
The mtk_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/mediatek/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/reset.c b/drivers/clk/mediatek/reset.c
index 9e9fe4b19ac4..309049d41f1b 100644
--- a/drivers/clk/mediatek/reset.c
+++ b/drivers/clk/mediatek/reset.c
@@ -57,7 +57,7 @@ static int mtk_reset(struct reset_controller_dev *rcdev,
return mtk_reset_deassert(rcdev, id);
}
-static struct reset_control_ops mtk_reset_ops = {
+static const struct reset_control_ops mtk_reset_ops = {
.assert = mtk_reset_assert,
.deassert = mtk_reset_deassert,
.reset = mtk_reset,