Skip to content

Commit 1b44392

Browse files
serial: adi: fixing minor number
SC594 had an issue where another device was registered with the same minor number, causing a kernel crash Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
1 parent ce8ccec commit 1b44392

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/tty/serial/adi_uart4.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,13 +1103,9 @@ static struct uart_driver adi_uart4_serial_reg = {
11031103
.driver_name = DRIVER_NAME,
11041104
.dev_name = "ttySC",
11051105
.major = TTY_MAJOR,
1106-
#ifdef CONFIG_ARCH_SC59X_64
11071106
// Other serial drivers are using 64 --
11081107
// Can probably disable in the future and set this back to 64
11091108
.minor = 74,
1110-
#else
1111-
.minor = 64,
1112-
#endif
11131109
.nr = ADI_UART_NR_PORTS,
11141110
.cons = ADI_SERIAL_UART4_CONSOLE,
11151111
};

0 commit comments

Comments
 (0)