original_kernel/drivers/tty/serdev
Ricardo B. Marliere 88cddfb7bf serdev: make serdev_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the serdev_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>
Link: https://lore.kernel.org/r/20240203-bus_cleanup-tty-v1-1-86b698c82efe@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-06 14:35:38 +00:00
..
Kconfig
Makefile
core.c serdev: make serdev_bus_type const 2024-02-06 14:35:38 +00:00
serdev-ttyport.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00