Skip to content

Commit f588b28

Browse files
committed
Starfive: fix broken patch due to kernel upgrade
1 parent 66b1e8f commit f588b28

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

patch/kernel/archive/starfive-6.1/1016-serial-8250_dw-Add-starfive-jh7100-hsuart-compatible.patch

+9-5
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,26 @@ RISC-V SoC. Just like the regular uarts we also need to keep the input
88
clocks at their default rate and rely only on the divisor in the UART.
99

1010
Signed-off-by: Emil Renner Berthing <[email protected]>
11+
Signed-off-by: Armbian Linux <[email protected]>
1112
---
1213
drivers/tty/serial/8250/8250_dw.c | 1 +
1314
1 file changed, 1 insertion(+)
1415

1516
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
16-
index 7db51781289e..b749f2805df7 100644
17+
index 72f9aab75ab1..33aa972c0de1 100644
1718
--- a/drivers/tty/serial/8250/8250_dw.c
1819
+++ b/drivers/tty/serial/8250/8250_dw.c
19-
@@ -777,6 +777,7 @@ static const struct of_device_id dw8250_of_match[] = {
20+
@@ -779,10 +779,11 @@ static const struct of_device_id dw8250_of_match[] = {
21+
{ .compatible = "snps,dw-apb-uart", .data = &dw8250_dw_apb },
2022
{ .compatible = "cavium,octeon-3860-uart", .data = &dw8250_octeon_3860_data },
2123
{ .compatible = "marvell,armada-38x-uart", .data = &dw8250_armada_38x_data },
2224
{ .compatible = "renesas,rzn1-uart", .data = &dw8250_renesas_rzn1_data },
25+
{ .compatible = "sophgo,sg2044-uart", .data = &dw8250_skip_set_rate_data },
2326
+ { .compatible = "starfive,jh7100-hsuart", .data = &dw8250_starfive_jh7100_data },
24-
{ .compatible = "starfive,jh7100-uart", .data = &dw8250_starfive_jh7100_data },
27+
{ .compatible = "starfive,jh7100-uart", .data = &dw8250_skip_set_rate_data },
2528
{ /* Sentinel */ }
2629
};
30+
MODULE_DEVICE_TABLE(of, dw8250_of_match);
31+
2732
--
28-
Armbian
29-
33+
Created with Armbian build tools https://github.com/armbian/build

0 commit comments

Comments
 (0)