diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-04 17:28:58 -0300 |
|---|---|---|
| committer | Manivannan Sadhasivam <[email protected]> | 2024-02-08 10:49:30 +0530 |
| commit | b91da7308171ac4ad2623d371f37288dafbb3bdc (patch) | |
| tree | 839a6baebcccfef4047e4562594dc00cbb348aad /tools/perf/scripts/python | |
| parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
PCI: endpoint: Make pci_epf_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the pci_epf_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mani: modified subject to reflect subsys prefix]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions