mirror of https://gitee.com/openkylin/linux.git
reset: zynq: Make reset_control_ops const
The zynq_reset_ops structure is never modified. Make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
387eb3f3d5
commit
356d108f87
|
@ -86,7 +86,7 @@ static int zynq_reset_status(struct reset_controller_dev *rcdev,
|
||||||
return !!(reg & BIT(offset));
|
return !!(reg & BIT(offset));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct reset_control_ops zynq_reset_ops = {
|
static const struct reset_control_ops zynq_reset_ops = {
|
||||||
.assert = zynq_reset_assert,
|
.assert = zynq_reset_assert,
|
||||||
.deassert = zynq_reset_deassert,
|
.deassert = zynq_reset_deassert,
|
||||||
.status = zynq_reset_status,
|
.status = zynq_reset_status,
|
||||||
|
|
Loading…
Reference in New Issue