From: Philipp Zabel Date: Sun, 17 Jan 2016 14:12:48 +0000 (+0100) Subject: reset: berlin: Make reset_control_ops const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b7a90075656716d9e674bcb73cfac379e66ce409;p=linux-beck.git 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 --- 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, };