diff options
| author | Tony Lindgren <[email protected]> | 2024-04-11 11:06:20 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-11 14:08:27 +0200 |
| commit | 4547cd76f08a6f301f6ad563f5d0e4566924ec6b (patch) | |
| tree | 20cd826e064419f8e88736f0828ea66831eec1fc /tools/perf/scripts/python/flamegraph.py | |
| parent | 48d4a801be0ff64740832fcc71ac4632c12fd73b (diff) | |
serial: 8250: Fix add preferred console for serial8250_isa_init_ports()
We need to inline serial_base_add_isa_preferred_console() based on
CONFIG_SERIAL_8250_CONSOLE and not based on CONFIG_SERIAL_CORE_CONSOLE.
Otherwise we can get the follwoing error as noted by Stephen:
ERROR: modpost: "serial_base_add_isa_preferred_console"
[drivers/tty/serial/8250/8250.ko] undefined!
We also have a duplicate inlined serial_base_add_isa_preferred_console(),
in serial_base_bus.c added by the same commit by accident, let's drop it.
Fixes: a8b04cfe7dad ("serial: 8250: Add preferred console in serial8250_isa_init_ports()")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions