mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 17:36:12 +02:00
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 <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/22771 Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
1e2a5b97fc
commit
9b76c858e0
@ -108,7 +108,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
||||
+ 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);
|
||||
+
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user