serial: 8250_hub6: add missing include for hub6_match_port()

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: 3d406299d8 ("serial: 8250_hub6: add hub6_match_port()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202607110715.VGT2dVVz-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202607111219.QG9uOW8H-lkp@intel.com/
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20260714012610.576746-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hugo Villeneuve 2026-07-13 21:26:07 -04:00 committed by Greg Kroah-Hartman
parent c1d4ce2d9e
commit da7b5fd4e1

View File

@ -7,6 +7,8 @@
#include <linux/init.h>
#include <linux/serial_8250.h>
#include "8250.h"
#define HUB6(card, port) \
{ \
.iobase = 0x302, \