diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 17:10:32 -0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-02-23 14:58:03 +0000 |
commit | 6abc896ccbdd8cd4353adc1a27a469753e78ce0d (patch) | |
tree | 7994335b31bbd7b7f6c37b4091bee73667e365eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c28c45608ef35bea99a959c1643fad32e2cc4044 (diff) |
mfd: mcp-core: Make mcp_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mcp_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: "Ricardo B. Marliere" <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-mfd-v1-1-07335ebc034f@marliere.net
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions