Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: serial: export serial_8250_warn_need_ioport

The newly added function is used from a loadable module, so it has
to be exported the same way as the other function in this file:

ERROR: modpost: "serial_8250_warn_need_ioport" [drivers/tty/serial/8250/8250_pci.ko] undefined!

Fixes: 7c7e6c8924e7 ("tty: serial: handle HAS_IOPORT dependencies")
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1
+1
drivers/tty/serial/8250/8250_pcilib.c
··· 19 19 20 20 return -ENXIO; 21 21 } 22 + EXPORT_SYMBOL_NS_GPL(serial_8250_warn_need_ioport, SERIAL_8250_PCI); 22 23 23 24 int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, 24 25 u8 bar, unsigned int offset, int regshift)