From: Philipp Zabel
Date: Sun, 17 Jan 2016 14:15:13 +0000 (+0100)
Subject: reset: sti: Make reset_control_ops const
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f673ed4d5fdc123b1552525de30741cd8dfde53f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git
reset: sti: Make reset_control_ops const
The syscfg_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
---
diff --git a/drivers/reset/sti/reset-syscfg.c b/drivers/reset/sti/reset-syscfg.c
index 1600cc7557f5..9bd57a5eee72 100644
--- a/drivers/reset/sti/reset-syscfg.c
+++ b/drivers/reset/sti/reset-syscfg.c
@@ -134,7 +134,7 @@ static int syscfg_reset_status(struct reset_controller_dev *rcdev,
return rst->active_low ? !ret_val : !!ret_val;
}
-static struct reset_control_ops syscfg_reset_ops = {
+static const struct reset_control_ops syscfg_reset_ops = {
.reset = syscfg_reset_dev,
.assert = syscfg_reset_assert,
.deassert = syscfg_reset_deassert,