Commit 996a4638 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by 熊彦彬
Browse files

UPSTREAM: serial: sprd: remove __init from sprd_console_setup



The function sprd_console_setup() would be called from .probe() which can
be called after freeing __init functions, for example the .probe() would
return -EPROBE_DEFER since it depends on clock modules.

Signed-off-by: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Reviewed-by: default avatarBaolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/20200316101930.9962-3-zhang.lyra@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 238397887
(cherry picked from commit f1b49d5a)
Signed-off-by: default avatarYanbin Xiong <yanbin.xiong@unisoc.com>
Change-Id: If01c16cf0f5e826be3905a58047a9d782e73413b
parent 569d3804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment