Home
last modified time | relevance | path

Searched hist:"9 b8fef6345d5487137d4193bb0a0eae2203c284e" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dsifive.cdiff 9b8fef6345d5487137d4193bb0a0eae2203c284e Sat Jun 24 08:01:59 CEST 2023 Samuel Holland <samuel.holland@sifive.com> serial: sifive: Fix sifive_serial_console_setup() section

This function is called indirectly from the platform driver probe
function. Even if the driver is built in, it may be probed after
free_initmem() due to deferral or unbinding/binding via sysfs.
Thus the function cannot be marked as __init.

Fixes: 45c054d0815b ("tty: serial: add driver for the SiFive UART")
Cc: stable <stable@kernel.org>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20230624060159.3401369-1-samuel.holland@sifive.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>