Re: [PATCH] PCI: tegra: Constify static structs

From: Krzysztof Wilczyński
Date: Sun Mar 07 2021 - 12:29:07 EST


Hi Rikard,

Thank you for sending the patch over!

> The only usage of them is to assign their address to the 'ops' field in
> the pcie_port and the dw_pcie_ep structs, both which are pointers to
> const. Make them const to allow the compiler to put them in read-only
> memory.
[...]

Reviewed-by: Krzysztof Wilczyński <kw@xxxxxxxxx>

Krzysztof