Skip to content

Commit a1a81ae

Browse files
Thomas Bogendoerfergregkh
authored andcommitted
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: 3fc36ae ("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>
1 parent d50dd72 commit a1a81ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/serial/ip22zilog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ static struct uart_driver ip22zilog_reg = {
10251025
#endif
10261026
};
10271027

1028-
static void __init ip22zilog_prepare(struct uart_ip22zilog_port *up)
1028+
static void ip22zilog_prepare(struct uart_ip22zilog_port *up)
10291029
{
10301030
unsigned char sysrq_on = IS_ENABLED(CONFIG_SERIAL_IP22_ZILOG_CONSOLE);
10311031
int brg;

0 commit comments

Comments
 (0)