]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
USB: serial: add missing atomic includes
authorJohan Hovold <johan@kernel.org>
Mon, 11 May 2026 07:14:47 +0000 (09:14 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 11 May 2026 07:34:21 +0000 (09:34 +0200)
Add the missing atomic.h include to the two driver that use it but did
not include it directly.

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

index 4cf77ead933449488aa1bb988176f3e30c150893..34ccf78205371a81f52c3a085fb7cf9af7dc0790 100644 (file)
@@ -25,6 +25,7 @@
  *
  */
 
+#include <linux/atomic.h>
 #include <linux/kernel.h>
 #include <linux/jiffies.h>
 #include <linux/errno.h>
index bc3b631041a98caff16a139ea5590d4a1e95f4ea..104f43a8f4d8123f1f5e83056aeb60e1a0ead147 100644 (file)
@@ -17,6 +17,8 @@
  *     Copyright (C) 2000 Inside Out Networks, All rights reserved.
  *     Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com>
  */
+
+#include <linux/atomic.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/slab.h>