diff options
author | 2025-03-17 08:00:30 +0100 | |
---|---|---|
committer | 2025-03-20 08:00:51 -0700 | |
commit | 52443558adcdb11cff76beec34bf75f6779e1a08 (patch) | |
tree | 1bcad2d1f73535b721842bed7b959e2d88b3fdc3 /include/linux/serdev.h | |
parent | tty: tty_driver: document both {,__}tty_alloc_driver() properly (diff) | |
download | wireguard-linux-52443558adcdb11cff76beec34bf75f6779e1a08.tar.xz wireguard-linux-52443558adcdb11cff76beec34bf75f6779e1a08.zip |
tty: tty_driver: introduce TTY driver sub/types enums
Convert TTY_DRIVER_TYPE_*, and subtype macros to two enums:
tty_driver_type and tty_driver_subtype. This allows for easier
kernel-doc (later), grouping of these nicely, and proper checking.
The tty_driver's ::type and ::subtype now use these enums instead of
bare "short".
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-16-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions