diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-02-08 01:16:04 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2021-03-22 15:56:47 +0300 |
commit | d895ce703098fe4939b081026d77afccddec44df (patch) | |
tree | d5d151fd06931a26620193a6f44c69c50b92489f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) | |
download | linux-d895ce703098fe4939b081026d77afccddec44df.tar.xz |
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/20210207221604.48910-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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions