From: Philipp Zabel Date: Sun, 17 Jan 2016 14:14:32 +0000 (+0100) Subject: reset: sunxi: Make reset_control_ops const X-Git-Tag: next-20160301~132^2~8^2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01501d57302a39b46a308b6499a7095f9096a104;p=karo-tx-linux.git reset: sunxi: Make reset_control_ops const The sunxi_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel Acked-by: Maxime Ripard --- diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index 8d41a18da17f..677f86555212 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c @@ -70,7 +70,7 @@ static int sunxi_reset_deassert(struct reset_controller_dev *rcdev, return 0; } -static struct reset_control_ops sunxi_reset_ops = { +static const struct reset_control_ops sunxi_reset_ops = { .assert = sunxi_reset_assert, .deassert = sunxi_reset_deassert, };