[PATCH] serial: 8250_hub6: add missing include for hub6_match_port()
Hugo Villeneuve <[email protected]>
| Newsgroups | org.kernel.vger.linux-serial,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Hugo Villeneuve <[email protected]> Add missing include to fix compile warning: drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for 'hub6_match_port' [-Wmissing-prototypes] Fixes: 3d406299d882 ("serial: 8250_hub6: add hub6_match_port()") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Hugo Villeneuve <[email protected]> --- Not CCing stable as commit is still in Greg's tty-next tree --- drivers/tty/serial/8250/8250_hub6.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/8250/8250_hub6.c b/drivers/tty/serial/8250/8250_hub6.c index eae32c924e29b..b6767633c966c 100644 --- a/drivers/tty/serial/8250/8250_hub6.c +++ b/drivers/tty/serial/8250/8250_hub6.c @@ -7,6 +7,8 @@ #include <linux/init.h> #include <linux/serial_8250.h> +#include "8250.h" + #define HUB6(card, port) \ { \ .iobase = 0x302, \ base-commit: c1d4ce2d9eaeccd7e8aef7ec1109df49eaf4f503 -- 2.47.3