Skip to content

Commit f0137d5

Browse files
szafonimateusz-mixiaoxiang781216
authored andcommitted
drivers/serial: simplify 16550_PCI_UARTx_CLOCK config
drivers/serial: simplify 16550_PCI_UARTx_CLOCK config Signed-off-by: p-szafonimateusz <[email protected]>
1 parent 9f93621 commit f0137d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/serial/Kconfig-pci

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ config 16550_PCI_UART1_PORT
118118

119119
config 16550_PCI_UART1_CLOCK
120120
int "16550 UART1 PCI clock"
121+
default 16550_PCI_UART0_CLOCK
121122

122123
config 16550_PCI_UART1_BAUD
123124
int "16550 UART1 PCI BAUD"
@@ -179,6 +180,7 @@ config 16550_PCI_UART2_PORT
179180

180181
config 16550_PCI_UART2_CLOCK
181182
int "16550 UART2 PCI clock"
183+
default 16550_PCI_UART1_CLOCK
182184

183185
config 16550_PCI_UART2_BAUD
184186
int "16550 UART2 PCI BAUD"
@@ -240,6 +242,7 @@ config 16550_PCI_UART3_PORT
240242

241243
config 16550_PCI_UART3_CLOCK
242244
int "16550 UART3 PCI clock"
245+
default 16550_PCI_UART2_CLOCK
243246

244247
config 16550_PCI_UART3_BAUD
245248
int "16550 UART3 PCI BAUD"

0 commit comments

Comments
 (0)