mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
tty: serial: ip22zilog: Fix section mispatch warning
ip22zilog_prepare() is now called by driver probe routine, so it
shouldn't be in the __init section any longer.
Fixes: 3fc36ae6ab ("tty: serial: ip22zilog: Use platform device for probing")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604020945.c9jAvCPs-lkp@intel.com/
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Link: https://patch.msgid.link/20260402102154.136620-1-tbogendoerfer@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d50dd728ce
commit
a1a81aef99
|
|
@ -1025,7 +1025,7 @@ static struct uart_driver ip22zilog_reg = {
|
|||
#endif
|
||||
};
|
||||
|
||||
static void __init ip22zilog_prepare(struct uart_ip22zilog_port *up)
|
||||
static void ip22zilog_prepare(struct uart_ip22zilog_port *up)
|
||||
{
|
||||
unsigned char sysrq_on = IS_ENABLED(CONFIG_SERIAL_IP22_ZILOG_CONSOLE);
|
||||
int brg;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user