diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2024-04-09 11:42:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-11 14:08:07 +0200 |
commit | 2a8e4ab0c93fad30769479f86849e22d63cd0e12 (patch) | |
tree | fe2dc326999ca0d51855de719eb301a0fa5be94b /drivers/tty | |
parent | fff4a5d5609db86ccdf1cf5791b7651b7f6a9b19 (diff) | |
download | linux-2a8e4ab0c93fad30769479f86849e22d63cd0e12.tar.gz linux-2a8e4ab0c93fad30769479f86849e22d63cd0e12.tar.bz2 linux-2a8e4ab0c93fad30769479f86849e22d63cd0e12.zip |
serial: sc16is7xx: add proper sched.h include for sched_set_fifo()
Replace incorrect include with the proper one for sched_set_fifo()
declaration.
Fixes: 28d2f209cd16 ("sched,serial: Convert to sched_set_fifo()")
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20240409154253.3043822-2-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/sc16is7xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 07aca9fc6d97..afcfb4f38945 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -18,6 +18,7 @@ #include <linux/module.h> #include <linux/property.h> #include <linux/regmap.h> +#include <linux/sched.h> #include <linux/serial_core.h> #include <linux/serial.h> #include <linux/tty.h> @@ -25,7 +26,6 @@ #include <linux/spi/spi.h> #include <linux/uaccess.h> #include <linux/units.h> -#include <uapi/linux/sched/types.h> #define SC16IS7XX_NAME "sc16is7xx" #define SC16IS7XX_MAX_DEVS 8 |