linux-stable/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
..
core.c serdev: make serdev_bus_type const 2024-02-06 14:35:38 +00:00
Kconfig tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
Makefile Revert "serdev: simplify Makefile" 2019-12-18 15:01:41 +01:00
serdev-ttyport.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00