From: Philipp Zabel
Date: Sun, 17 Jan 2016 14:11:59 +0000 (+0100)
Subject: reset: hi6220: Make reset_control_ops const
X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e18e60e1bded4b3c8c0eb29ac297ff7336ba5c7;p=linux-beck.git
reset: hi6220: Make reset_control_ops const
The hi6220_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
---
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c
index 744b2e796442..8f55fd4a2630 100644
--- a/drivers/reset/hisilicon/hi6220_reset.c
+++ b/drivers/reset/hisilicon/hi6220_reset.c
@@ -57,7 +57,7 @@ static int hi6220_reset_deassert(struct reset_controller_dev *rc_dev,
return 0;
}
-static struct reset_control_ops hi6220_reset_ops = {
+static const struct reset_control_ops hi6220_reset_ops = {
.assert = hi6220_reset_assert,
.deassert = hi6220_reset_deassert,
};