summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf
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-30 01:30:01 +0200
commitb1b69c5dd5ada9be222721dd297c329dafb65d06 (patch)
tree36d681ca307a2e8497d3a8c78ca868718390141d /drivers/clk/sirf
parentclk: rockchip: Make reset_control_ops const (diff)
downloadlinux-b1b69c5dd5ada9be222721dd297c329dafb65d06.tar.xz
linux-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>
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,
};