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

From: Lorenzo Pieralisi
Date: Mon Mar 22 2021 - 09:14:38 EST


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