From b7a90075656716d9e674bcb73cfac379e66ce409 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Sun, 17 Jan 2016 15:12:48 +0100
Subject: [PATCH] reset: berlin: Make reset_control_ops const
The berlin_reset_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel
Acked-by: Antoine Tenart
---
drivers/reset/reset-berlin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index ac017df8858c..369f3917fd8e 100644
--- a/drivers/reset/reset-berlin.c
+++ b/drivers/reset/reset-berlin.c
@@ -46,7 +46,7 @@ static int berlin_reset_reset(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops berlin_reset_ops = {
+static const struct reset_control_ops berlin_reset_ops = {
.reset = berlin_reset_reset,
};
--
2.20.1