From 8912e386e3c3876255ad3b70ccf281bad64ddb4a Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Sun, 23 Jul 2023 14:26:13 +0200 Subject: [PATCH] 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 --- .../linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch b/target/linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch index 6980592085..a3d861ec2f 100644 --- a/target/linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch +++ b/target/linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch @@ -4574,7 +4574,7 @@ Signed-off-by: Jonathan Bell + 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); +} + + -- 2.30.2