]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tty: serial: export serial_8250_warn_need_ioport
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Oct 2024 10:36:32 +0000 (10:36 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 29 Oct 2024 16:39:12 +0000 (16:39 +0000)
commitc0dc92144ba181cf7ba366a87909bbaa93d5b713
tree2345df922e6098f1b8d830ecc2ab4fec05671a17
parent5a8b4b4001252fd64f4f0756d4f8cdfd61eccb77
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>
drivers/tty/serial/8250/8250_pcilib.c