aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-12-04 22:03:16 +0000
committerLorenzo Pieralisi <[email protected]>2022-01-04 15:29:14 +0000
commit840a720aaa14dbc6c79782210d759fe9cf181838 (patch)
tree4b0f04027cf71777620363089c3814432f4790fd /tools/perf/util/python.c
parentPCI: qcom: Use __be16 type to store return value from cpu_to_be16() (diff)
downloadkernel-840a720aaa14dbc6c79782210d759fe9cf181838.tar.gz
kernel-840a720aaa14dbc6c79782210d759fe9cf181838.zip
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/[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 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions