mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
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:
parent
c1d4ce2d9e
commit
da7b5fd4e1
|
|
@ -7,6 +7,8 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/serial_8250.h>
|
||||
|
||||
#include "8250.h"
|
||||
|
||||
#define HUB6(card, port) \
|
||||
{ \
|
||||
.iobase = 0x302, \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user