From: Philipp Zabel Date: Thu, 25 Feb 2016 09:45:09 +0000 (+0100) Subject: clk: atlas7: Make reset_control_ops const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1b69c5dd5ada9be222721dd297c329dafb65d06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git clk: atlas7: Make reset_control_ops const The atlas7_rst_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/sirf/clk-atlas7.c b/drivers/clk/sirf/clk-atlas7.c index 957aae63e7cc..d0c6c9a2d06a 100644 --- a/drivers/clk/sirf/clk-atlas7.c +++ b/drivers/clk/sirf/clk-atlas7.c @@ -1423,7 +1423,7 @@ static int atlas7_reset_module(struct reset_controller_dev *rcdev, return 0; } -static struct reset_control_ops atlas7_rst_ops = { +static const struct reset_control_ops atlas7_rst_ops = { .reset = atlas7_reset_module, };