summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:09 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-29 16:30:01 -0700
commitb1b69c5dd5ada9be222721dd297c329dafb65d06 (patch)
tree36d681ca307a2e8497d3a8c78ca868718390141d
parent3fb950fea6e14b159899b713ede0b7506ca03649 (diff)
downloadlinux-stable-b1b69c5dd5ada9be222721dd297c329dafb65d06.tar.gz
linux-stable-b1b69c5dd5ada9be222721dd297c329dafb65d06.tar.bz2
linux-stable-b1b69c5dd5ada9be222721dd297c329dafb65d06.zip
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>
-rw-r--r--drivers/clk/sirf/clk-atlas7.c2
1 files changed, 1 insertions, 1 deletions
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,
};