summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-12-04 23:03:16 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2022-01-04 15:29:14 +0000
commit840a720aaa14dbc6c79782210d759fe9cf181838 (patch)
tree4b0f04027cf71777620363089c3814432f4790fd /drivers/pci/controller/dwc/pci-keystone.c
parent3f13d611aa6be3a500d696b0699938dcb39a9887 (diff)
PCI: qcom-ep: Constify static dw_pcie_ep_ops
The only usage of pci_ep_ops is to assign its address to the ops field in the dw_pcie_ep struct which is a pointer to const struct dw_pcie_ep_ops. Make it const to allow the compiler to put it in read-only memory. Link: https://lore.kernel.org/r/20211204220316.88655-1-rikard.falkeborn@gmail.com Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions