summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:06 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 01:29:19 +0200
commitf39bb4579cbf3ff174d936d37aa3669eb98370c6 (patch)
tree6035b813959d1b85b050c6e0ebddeef67aa92f10 /drivers/clk/mediatek
parentLinux 4.6-rc1 (diff)
downloadlinux-f39bb4579cbf3ff174d936d37aa3669eb98370c6.tar.xz
linux-f39bb4579cbf3ff174d936d37aa3669eb98370c6.zip
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/mediatek')
-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,