diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-08-23 11:11:28 +0800 |
---|---|---|
committer | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2024-08-26 13:58:27 +0530 |
commit | 8e54acedff45f40f5e11bf2d9ef7f48dd33b4ef9 (patch) | |
tree | 0813867f9d69e73ddfcd95e149347cf6a80c95d2 /tools/perf/scripts/python/gecko.py | |
parent | bfc5ca0fd1ea7aceae0b682fa4bd8079c52f96c8 (diff) |
bus: mhi: host: make mhi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mhi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240823031129.49010-1-kunwu.chan@linux.dev
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions