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

Krzysztof Wilczyński
2021-03-07T17:29:07Z

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@linux.com>

Krzysztof