aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-04 16:56:34 -0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-02-06 13:57:02 -0800
commitd03f030115fe930de1222fef294730ba21b93045 (patch)
tree6a82c39b41087a10a0b159e4fe8c7ef05589b2ff /lib/string_helpers.c
parent7d0f351da46098b3bbb147f886f059473b84ff48 (diff)
Input: gameport - make gameport_bus const
Now that the driver core can properly handle constant struct bus_type, move the gameport_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> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20240204-bus_cleanup-input-v1-1-74c2438801cf@marliere.net Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions