summaryrefslogtreecommitdiff
path: root/drivers/clk/sirf
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 12:45:09 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 02:30:01 +0300
commitb1b69c5dd5ada9be222721dd297c329dafb65d06 (patch)
tree36d681ca307a2e8497d3a8c78ca868718390141d /drivers/clk/sirf
parent3fb950fea6e14b159899b713ede0b7506ca03649 (diff)
downloadlinux-b1b69c5dd5ada9be222721dd297c329dafb65d06.tar.xz
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>
Diffstat (limited to 'drivers/clk/sirf')
-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,
};