diff options
Diffstat (limited to 'rust/helpers/dma.c')
| -rw-r--r-- | rust/helpers/dma.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/rust/helpers/dma.c b/rust/helpers/dma.c index df8b8a77355a..6e741c197242 100644 --- a/rust/helpers/dma.c +++ b/rust/helpers/dma.c @@ -14,3 +14,8 @@ void rust_helper_dma_free_attrs(struct device *dev, size_t size, void *cpu_addr,  {  	dma_free_attrs(dev, size, cpu_addr, dma_handle, attrs);  } + +int rust_helper_dma_set_mask_and_coherent(struct device *dev, u64 mask) +{ +	return dma_set_mask_and_coherent(dev, mask); +} | 
