summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-02-05 13:54:04 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-11 10:37:49 +0100
commitc4448d0d3429a53e08e375323988699f6315a789 (patch)
treea5ed82ccaf80a636fcf8fe4cc565f5fee7c284c5 /drivers/reset
parent9991d055500e3bf03cfce5b3ccbfe45cefcbdf40 (diff)
downloadbarebox-c4448d0d3429a53e08e375323988699f6315a789.tar.gz
reset: Constify "ops" in struct reset_controller_dev
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-socfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c
index b6faa02..9b499f2 100644
--- a/drivers/reset/reset-socfpga.c
+++ b/drivers/reset/reset-socfpga.c
@@ -73,7 +73,7 @@ static int socfpga_reset_deassert(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops socfpga_reset_ops = {
+static const struct reset_control_ops socfpga_reset_ops = {
.assert = socfpga_reset_assert,
.deassert = socfpga_reset_deassert,
};