]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tty: serial: ip22zilog: Fix section mispatch warning
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 2 Apr 2026 10:21:53 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 13:59:56 +0000 (15:59 +0200)
commita1a81aef99e853dec84241d701fbf587d713eb5b
tree63b931eda4d80bcaafa89d2f97edebf383b1df62
parentd50dd728ced93a1900ff0be924b6f273baf59fb2
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: 3fc36ae6abd2 ("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>
drivers/tty/serial/ip22zilog.c