summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/reset.h
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-29 16:30:26 -0700
commitadd479eeb1a208a31ab913ae7c97506a81383079 (patch)
treefedae18d2a2fa1598f5217693f32e10877d3fa33 /drivers/clk/qcom/reset.h
parent7ba256d2aa2a18e24b7c9ec4e03cd22b0149c51c (diff)
downloadop-kernel-dev-add479eeb1a208a31ab913ae7c97506a81383079.zip
op-kernel-dev-add479eeb1a208a31ab913ae7c97506a81383079.tar.gz
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.h')
-rw-r--r--drivers/clk/qcom/reset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/reset.h b/drivers/clk/qcom/reset.h
index 0e11e21..cda8779 100644
--- a/drivers/clk/qcom/reset.h
+++ b/drivers/clk/qcom/reset.h
@@ -32,6 +32,6 @@ struct qcom_reset_controller {
#define to_qcom_reset_controller(r) \
container_of(r, struct qcom_reset_controller, rcdev);
-extern struct reset_control_ops qcom_reset_ops;
+extern const struct reset_control_ops qcom_reset_ops;
#endif
OpenPOWER on IntegriCloud