summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/reset.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 10:45:12 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-03-30 01:30:26 +0200
commitadd479eeb1a208a31ab913ae7c97506a81383079 (patch)
treefedae18d2a2fa1598f5217693f32e10877d3fa33 /drivers/clk/qcom/reset.c
parentclk: tegra: Make reset_control_ops const (diff)
downloadlinux-add479eeb1a208a31ab913ae7c97506a81383079.tar.xz
linux-add479eeb1a208a31ab913ae7c97506a81383079.zip
clk: qcom: Make reset_control_ops const
The qcom_reset_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/qcom/reset.c')
-rw-r--r--drivers/clk/qcom/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/reset.c b/drivers/clk/qcom/reset.c
index 6c977d3a8590..0324d8daab9b 100644
--- a/drivers/clk/qcom/reset.c
+++ b/drivers/clk/qcom/reset.c
@@ -55,7 +55,7 @@ qcom_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id)
return regmap_update_bits(rst->regmap, map->reg, mask, 0);
}
-struct reset_control_ops qcom_reset_ops = {
+const struct reset_control_ops qcom_reset_ops = {
.reset = qcom_reset,
.assert = qcom_reset_assert,
.deassert = qcom_reset_deassert,