openwrt-packages/libs/xr_usb_serial_common
David Bauer 69cf7836df xr_usb_serial_common: fix kernel 5.10 builds
Building the xr_usb_serial module fails for Kenel 5.10 with CONFIG_PM
enabled:

xr_usb_serial_common.c:1574:15: error: 'ASYNCB_INITIALIZED' undeclared
(first use in this function); did you mean 'RCU_INITIALIZER'?

Use tty_port_initialized in order to determine the status of the TTY
port. This is compatible with Kernel 5.10 and at least Kernel 5.4.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-05-25 22:41:04 +02:00
..
patches xr_usb_serial_common: fix kernel 5.10 builds 2021-05-25 22:41:04 +02:00
Makefile xr_usb_serial_common: fix kernel 5.10 builds 2021-05-25 22:41:04 +02:00