Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f39bb457 authored by Philipp Zabel's avatar Philipp Zabel Committed by Stephen Boyd
Browse files

clk: mediatek: Make reset_control_ops const



The mtk_reset_ops structure is never modified. Make it const.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent f55532a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ static int mtk_reset(struct reset_controller_dev *rcdev,
	return mtk_reset_deassert(rcdev, id);
}

static struct reset_control_ops mtk_reset_ops = {
static const struct reset_control_ops mtk_reset_ops = {
	.assert = mtk_reset_assert,
	.deassert = mtk_reset_deassert,
	.reset = mtk_reset,