aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-02-07 23:16:04 +0100
committerLorenzo Pieralisi <[email protected]>2021-03-22 12:56:47 +0000
commitd895ce703098fe4939b081026d77afccddec44df (patch)
treed5d151fd06931a26620193a6f44c69c50b92489f /drivers/pci/controller/dwc/pci-layerscape.c
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
PCI: tegra: Constify static structs
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. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rikard Falkeborn <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Krzysztof WilczyƄski <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions