diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-03 16:02:01 -0300 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2024-02-13 13:37:28 +0100 |
| commit | 1ba28dee4b88f14887d0a6981bce80c5885f34c2 (patch) | |
| tree | 8c51103d7c36462106a2be98e84647d36da3a1df /tools/perf/scripts/python | |
| parent | 6bf26a0e5e9b11f7f4a614e539b9ed511e2fc0cd (diff) | |
mmc: core: make mmc_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mmc_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 <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions