]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
USB: serial: xr: add missing uaccess include
authorJohan Hovold <johan@kernel.org>
Mon, 11 May 2026 07:14:43 +0000 (09:14 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 11 May 2026 07:34:04 +0000 (09:34 +0200)
Add the missing uaccess.h include, which is needed since TIOCSRS485
support was added, instead of relying on the header being included
indirectly.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/xr_serial.c

index 9fc4082de77012c621c1c1ad272f872897f10f71..352c765d88034e2b6f0d4335a63ba785659510d3 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/tty.h>
+#include <linux/uaccess.h>
 #include <linux/usb.h>
 #include <linux/usb/cdc.h>
 #include <linux/usb/serial.h>