mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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: 7c7e6c8924 ("tty: serial: handle HAS_IOPORT dependencies")
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
5a8b4b4001
commit
c0dc92144b
|
|
@ -19,6 +19,7 @@ int serial_8250_warn_need_ioport(struct pci_dev *dev)
|
|||
|
||||
return -ENXIO;
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(serial_8250_warn_need_ioport, SERIAL_8250_PCI);
|
||||
|
||||
int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port,
|
||||
u8 bar, unsigned int offset, int regshift)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user