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