diff options
author | Greg Kroah-Hartman <[email protected]> | 2024-01-05 11:32:50 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-01-22 00:06:53 +0000 |
commit | 6df534cc7136fc9e023cbd4e0011a04e3659e74d (patch) | |
tree | 053cdf919817f3b4cb12db3d318fe020ab75382c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 4247d7f2ca564bbede54054da1f35a359bb061bd (diff) |
spi: make spi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the spi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Mark Brown <[email protected]>
Cc: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Link: https://msgid.link/r/2024010549-erasure-swoop-1cc6@gregkh
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions