diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2023-06-23 23:01:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-25 20:30:02 +0200 |
commit | 9b8fef6345d5487137d4193bb0a0eae2203c284e (patch) | |
tree | e89d51a6330acf47d264d08ecad76f8b51e5a720 /tools/net/ynl/lib/ynl.py | |
parent | e29c3f81eb8904edb762ea450aa78f52e5044b31 (diff) |
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>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions