Commit d2f79f22 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

reset: ath79: Make reset_control_ops const



The ath79_reset_ops structure is never modified. Make it const.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: default avatarAlban Bedel <albeu@free.fr>
parent 1a55cad1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ static int ath79_reset_status(struct reset_controller_dev *rcdev,
	return !!(val & BIT(id));
}

static struct reset_control_ops ath79_reset_ops = {
static const struct reset_control_ops ath79_reset_ops = {
	.assert = ath79_reset_assert,
	.deassert = ath79_reset_deassert,
	.status = ath79_reset_status,