diff options
| author | Johan Hovold <johan@kernel.org> | 2026-05-11 09:14:47 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-05-11 09:34:21 +0200 |
| commit | f0fc120c707bf6ccc8f6b8065b25fde4592f104f (patch) | |
| tree | a7389d770f24b6113166160a778cd96fdabd47e8 | |
| parent | 7f5d66d4b458c2141dfe49c6d5961b49079161ba (diff) | |
USB: serial: add missing atomic includes
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>
| -rw-r--r-- | drivers/usb/serial/io_edgeport.c | 1 | ||||
| -rw-r--r-- | drivers/usb/serial/mos7720.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index 4cf77ead9334..34ccf7820537 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c @@ -25,6 +25,7 @@ * */ +#include <linux/atomic.h> #include <linux/kernel.h> #include <linux/jiffies.h> #include <linux/errno.h> diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index bc3b631041a9..104f43a8f4d8 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -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> |
