mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
Revert "tty: xilinx_uartps: Fix missing id assignment to the console"
This reverts commit2ae11c46d5. It turned out to break the ultra96-rev1, e.g., which uses uart1 as serial0 (and stdout-path = "serial0:115200n8"). Fixes:2ae11c46d5("tty: xilinx_uartps: Fix missing id assignment to the console") Cc: stable <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> Reviewed-by: Michal Simek <[email protected]> Tested-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
225385657b
commit
76ed2e1057
1 file changed
-1
@@ -1465,7 +1465,6 @@ static int cdns_uart_probe(struct platform_device *pdev)
|
||||
cdns_uart_uart_driver.nr = CDNS_UART_NR_PORTS;
|
||||
#ifdef CONFIG_SERIAL_XILINX_PS_UART_CONSOLE
|
||||
cdns_uart_uart_driver.cons = &cdns_uart_console;
|
||||
cdns_uart_console.index = id;
|
||||
#endif
|
||||
|
||||
rc = uart_register_driver(&cdns_uart_uart_driver);
|
||||
|
||||
Reference in new issue
Block a user