Files
RedBear-OS/local/patches/base/P46b-ac97d-mutable-fix.patch
vasilito 4d914a0321 Add P46b fix for ac97d mutable pcid_handle borrow
P46 migrated ac97d to pci_allocate_interrupt_vector but missed
adding  to the pcid_handle parameter. This caused build
failure: cannot borrow pcid_handle as mutable.
2026-05-20 23:34:31 +03:00

6 lines
254 B
Diff

--- a/drivers/audio/ac97d/src/main.rs
+++ b/drivers/audio/ac97d/src/main.rs
@@ -20 +20 @@ fn main() {
-fn daemon(daemon: daemon::Daemon, pcid_handle: PciFunctionHandle) -> ! {
+fn daemon(daemon: daemon::Daemon, mut pcid_handle: PciFunctionHandle) -> ! {