Skip to content

Commit db89507

Browse files
committed
squash! soc: apple: Add support for the AOP co-processor
Adapt to rtkit bindings change.
1 parent 6c417d1 commit db89507

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/soc/apple/aop.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use kernel::{
1313
dma::{CoherentAllocation, Device, DmaMask},
1414
error::from_err_ptr,
1515
io::mem::IoMem,
16+
iosys_map::IoSysMapRef,
1617
module_platform_driver, new_condvar, new_mutex, of, platform,
1718
prelude::*,
1819
soc::apple::aop::{from_fourcc, EPICService, FakehidListener, AOP},
@@ -825,7 +826,7 @@ impl rtkit::Buffer for NoBuffer {
825826
fn iova(&self) -> Result<usize> {
826827
unreachable!()
827828
}
828-
fn buf(&mut self) -> Result<&mut [u8]> {
829+
fn buf(&mut self) -> Result<IoSysMapRef<'_, u8>> {
829830
unreachable!()
830831
}
831832
}

0 commit comments

Comments
 (0)