diff options
author | 2024-03-03 15:05:42 -0800 | |
---|---|---|
committer | 2024-03-03 15:06:58 -0800 | |
commit | fbd5f5008fab2203fa21e82579b9b48a7256b8fd (patch) | |
tree | 6a41a01b505f36e34059159717f68dfa22349e6c /scripts/generate_rust_analyzer.py | |
parent | Input: synaptics-rmi4 - make rmi_bus_type const (diff) | |
download | linux-rng-fbd5f5008fab2203fa21e82579b9b48a7256b8fd.tar.xz linux-rng-fbd5f5008fab2203fa21e82579b9b48a7256b8fd.zip |
Input: serio - make serio_bus const
Now that the driver core can properly handle constant struct bus_type,
move the serio_bus 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>
Link: https://lore.kernel.org/r/20240210-bus_cleanup-input2-v1-2-0daef7e034e0@marliere.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions