From: Philipp Zabel Date: Thu, 25 Feb 2016 09:45:06 +0000 (+0100) Subject: clk: mediatek: Make reset_control_ops const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f39bb4579cbf3ff174d936d37aa3669eb98370c6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git clk: mediatek: Make reset_control_ops const The mtk_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel Reviewed-by: Matthias Brugger Signed-off-by: Stephen Boyd --- 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,