1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 12:14:01 +02:00

bcm27xx: update dwc_otc driver with new kthread_complete_and_exit name

Kernel 6.1 renamed and moved complete_and_exit to
kthread_complete_and_exit.

This was just a rename and nothing is changed implementation wise.
Update to the new symbol name to fix compilation error.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi 2023-07-23 14:26:13 +02:00
parent a680ac8bcb
commit 8912e386e3
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -4574,7 +4574,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
+ usb_gadget_unregister_driver(&fsg_driver);
+
+ /* Let the unbind and cleanup routines know the thread has exited */
+ complete_and_exit(&fsg->thread_notifier, 0);
+ kthread_complete_and_exit(&fsg->thread_notifier, 0);
+}
+
+