Commit Graph

4 Commits

Author SHA1 Message Date
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
Rosen Penev 18aa332f9a
xr_usb_serial_common: update to 2017-08-01
Cleaned up Makefile to modern standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-31 18:09:20 -08:00
David Bauer 00d598ede6 xr_usb_serial_common: replace SUBDIRS with M in package recipe
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-03-11 00:48:40 +01:00
Daniel Golle 5d31eaccc6 add xr_usb_serial_common driver for USB to RS-485/RS-422
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-24 16:02:25 +02:00