Skip to contentSkip to conversation

serial: 8250_men_mcb: Remove duplicate UAPI:serial_core inclusion

PATCH New Andy Shevchenko 1 participant 1 message Aug 30, 2022 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: 8250_men_mcb: Remove duplicate UAPI:serial_core inclusion

The UAPI serial_core.h is guaranteed to be included by in-kernel one (with the same name). Individual drivers do not need to include it explicitly. Remove it from the driver.

Note, it's a single driver in the entire kernel that does this.

---
 drivers/tty/serial/8250/8250_men_mcb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/tty/serial/8250/8250_men_mcb.c +0 -1
index 737c4c31e8a0..f46ca13ff4aa 100644
@@ -7,7 +7,6 @@
 #include <linux/serial.h>
 #include <linux/serial_core.h>
 #include <linux/serial_8250.h>
-#include <uapi/linux/serial_core.h>
 
 #define MEN_UART_ID_Z025 0x19
 #define MEN_UART_ID_Z057 0x39
Signature · 1 line
2.35.1