clk: atlas7: Make reset_control_ops const
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:45:09 +0000 (10:45 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 29 Mar 2016 23:30:01 +0000 (16:30 -0700)
The atlas7_rst_ops structure is never modified. Make it const.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sirf/clk-atlas7.c

index 957aae63e7cce2796417a96555ed5cf43bff11fd..d0c6c9a2d06ae7d87cc5fe6b1d5866e33508e314 100644 (file)
@@ -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,
 };