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

Lorenzo Pieralisi
2021-03-22T13:00:05Z

On Sun, 7 Feb 2021 23:16:04 +0100, Rikard Falkeborn wrote:
> 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.

Applied to pci/tegra, thanks!

[1/1] PCI: tegra: Constify static structs
https://git.kernel.org/lpieralisi/pci/c/d895ce7030

Thanks,
Lorenzo