Преглед изворни кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <[email protected]>
Shiji Yang пре 1 недеља
родитељ
комит
9b76c858e0

+ 1 - 1
target/linux/ath79/patches-6.18/800-leds-add-reset-controller-based-driver.patch

@@ -108,7 +108,7 @@ Signed-off-by: John Crispin <[email protected]>
 +			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);
 +