From fd92f41dc2527722e5fd63f859ff811482f0ce1a Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 25 Feb 2016 10:45:07 +0100
Subject: clk: mmp: Make reset_control_ops const
The mmp_clk_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Signed-off-by: Stephen Boyd
---
drivers/clk/mmp/reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'drivers/clk')
diff --git a/drivers/clk/mmp/reset.c b/drivers/clk/mmp/reset.c
index b54da1f..b4e4d6a 100644
--- a/drivers/clk/mmp/reset.c
+++ b/drivers/clk/mmp/reset.c
@@ -74,7 +74,7 @@ static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops mmp_clk_reset_ops = {
+static const struct reset_control_ops mmp_clk_reset_ops = {
.assert = mmp_clk_reset_assert,
.deassert = mmp_clk_reset_deassert,
};
--
cgit v1.1