From: Philipp Zabel Date: Fri, 5 Feb 2016 15:49:34 +0000 (+0100) Subject: reset: img: Make reset_control_ops const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0cc2609bc0705d03d2317fba5ef2824d0ec5ee1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git reset: img: Make reset_control_ops const The pistachio_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel Acked-by: James Hartley --- diff --git a/drivers/reset/reset-pistachio.c b/drivers/reset/reset-pistachio.c index b31cdb0570fc..72a97a15a4c8 100644 --- a/drivers/reset/reset-pistachio.c +++ b/drivers/reset/reset-pistachio.c @@ -97,7 +97,7 @@ static int pistachio_reset_deassert(struct reset_controller_dev *rcdev, mask, 0); } -static struct reset_control_ops pistachio_reset_ops = { +static const struct reset_control_ops pistachio_reset_ops = { .assert = pistachio_reset_assert, .deassert = pistachio_reset_deassert, };