bcm27xx: update dwc_otc driver with new kthread_complete_and_exit name
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 23 Jul 2023 12:26:13 +0000 (14:26 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 23 Jul 2023 12:45:18 +0000 (14:45 +0200)
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>
target/linux/bcm27xx/patches-6.1/950-0106-Add-dwc_otg-driver.patch

index 6980592085dd325d091c631be764d1be1869850a..a3d861ec2f8b8e337761079970e6fe26630c6c38 100644 (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);
 +}
 +
 +