Skip to content
Commit fbd5f500 authored by Ricardo B. Marliere's avatar Ricardo B. Marliere Committed by Dmitry Torokhov
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarRicardo B. Marliere <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240210-bus_cleanup-input2-v1-2-0daef7e034e0@marliere.net
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d1278c91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment