diff options
author | Chunyan Zhang <[email protected]> | 2019-08-26 15:29:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-09-04 12:43:55 +0200 |
commit | e85c9d6786e5afc93c3a29582cf42ee4b00b1e08 (patch) | |
tree | 935ba050166c6bd7288eabe57fc4eeffc1e523a6 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 99038fe75afaef59e20417d593a9d618d3ea14e6 (diff) |
serial: sprd: add console_initcall in sprd's uart driver
Use console_initcall to save the console index we selected on the
command line to sprd_console before probe finished. Thus we can
make different processes to the uart devices during initialization
according to whether it is used for console.
Signed-off-by: Chunyan Zhang <[email protected]>
Signed-off-by: Chunyan Zhang <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Tested-by: Baolin Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions