From 9b76c858e0c126309e4ac87d21dc36ccf7206820 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sat, 4 Apr 2026 17:50:55 +0800 Subject: [PATCH] ath79: fix 6.18 kernel leds-reset driver build error Replace reset boolean parameters with flags parameter[1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=dad35f7d2fc14e446669d4cab100597a6798eae5 Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/22771 Signed-off-by: Nick Hainke --- .../800-leds-add-reset-controller-based-driver.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/patches-6.18/800-leds-add-reset-controller-based-driver.patch b/target/linux/ath79/patches-6.18/800-leds-add-reset-controller-based-driver.patch index 7fe2ae176e..febdadd666 100644 --- a/target/linux/ath79/patches-6.18/800-leds-add-reset-controller-based-driver.patch +++ b/target/linux/ath79/patches-6.18/800-leds-add-reset-controller-based-driver.patch @@ -108,7 +108,7 @@ Signed-off-by: John Crispin + fwnode_handle_put(child); + return ERR_PTR(-EINVAL); + } -+ led->rst = __of_reset_control_get(np, NULL, 0, 0, 0, true); ++ led->rst = __of_reset_control_get(np, NULL, 0, RESET_CONTROL_EXCLUSIVE); + if (IS_ERR(led->rst)) + return ERR_PTR(-EINVAL); +