diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-01-19 10:45:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-27 19:05:19 -0800 |
commit | e88538e3c5e135ea9e3014f14962f0ab911c98d6 (patch) | |
tree | 6311006751938ae3acf5f9f389829ae64abcfe6c /drivers/tty/serial/samsung_tty.c | |
parent | 1f42ff30ba52f57fcd1c8fdeb65a5e8e6f3f5ada (diff) | |
download | lwn-e88538e3c5e135ea9e3014f14962f0ab911c98d6.tar.gz lwn-e88538e3c5e135ea9e3014f14962f0ab911c98d6.zip |
tty: serial: samsung: explicitly include <linux/types.h>
samsung_tty.c uses u32 and relies on <linux/console.h> to include
<linux/types.h>. Explicitly include <linux/types.h>. We shall aim to
have the driver self contained.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240119104526.1221243-8-tudor.ambarus@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/samsung_tty.c')
-rw-r--r-- | drivers/tty/serial/samsung_tty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index bd9064d4efe7..b9b91ff6a1d7 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -41,6 +41,7 @@ #include <linux/sysrq.h> #include <linux/tty.h> #include <linux/tty_flip.h> +#include <linux/types.h> #include <asm/irq.h> |