Explorar el Código

clk: atlas7: Make reset_control_ops const

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>
Philipp Zabel hace 9 años
padre
commit
b1b69c5dd5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/clk/sirf/clk-atlas7.c

+ 1 - 1
drivers/clk/sirf/clk-atlas7.c

@@ -1423,7 +1423,7 @@ static int atlas7_reset_module(struct reset_controller_dev *rcdev,
 	return 0;
 	return 0;
 }
 }
 
 
-static struct reset_control_ops atlas7_rst_ops = {
+static const struct reset_control_ops atlas7_rst_ops = {
 	.reset = atlas7_reset_module,
 	.reset = atlas7_reset_module,
 };
 };