summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-01-17 15:12:23 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-10 10:53:34 +0100
commitd2f79f223f931dfadf98c42a9d426999d5e3397c (patch)
tree42eb484e045cf2900a5537373177d116ab9eb3cc /drivers/reset
parent1a55cad19f0ad42f3acc32be5199fd9a4802508b (diff)
downloadlinux-d2f79f223f931dfadf98c42a9d426999d5e3397c.tar.bz2
reset: ath79: Make reset_control_ops const
The ath79_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Alban Bedel <albeu@free.fr>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-ath79.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-ath79.c b/drivers/reset/reset-ath79.c
index 692fc890e94b..ccb940a8d9fb 100644
--- a/drivers/reset/reset-ath79.c
+++ b/drivers/reset/reset-ath79.c
@@ -70,7 +70,7 @@ static int ath79_reset_status(struct reset_controller_dev *rcdev,
return !!(val & BIT(id));
}
-static struct reset_control_ops ath79_reset_ops = {
+static const struct reset_control_ops ath79_reset_ops = {
.assert = ath79_reset_assert,
.deassert = ath79_reset_deassert,
.status = ath79_reset_status,