diff options
| author | Michal Simek <michal.simek@xilinx.com> | 2018-04-23 11:51:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-25 14:58:44 +0200 |
| commit | 0f38c5e3e0ade98b49e2c7ca5550ee9e36cbc04f (patch) | |
| tree | 1622b391f955e11efef6849eb295991550bd9f1c /tools/perf/scripts/python | |
| parent | sc16is7xx: Check for an error when the clock is enabled. (diff) | |
| download | linux-0f38c5e3e0ade98b49e2c7ca5550ee9e36cbc04f.tar.gz linux-0f38c5e3e0ade98b49e2c7ca5550ee9e36cbc04f.zip | |
serial: uartps: Remove console_initcall from the driver
register_console() is called from
uart_add_one_port()->uart_configure_port()
that's why register_console() is called twice.
This patch remove console_initcall to call register_console() only from
one location.
Also based on my tests cdns_uart_console_setup() is not called
from the first register_console() call.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
