blob: f1c24d8e79421486199cea8c54de0a92f5e1307c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <linux/dma-mapping.h>
int dma_set_mask(struct device *dev, u64 mask)
{
if (!dev->dma_mask || !dma_supported(dev, mask))
return -EIO;
*dev->dma_mask = mask;
return 0;
}
EXPORT_SYMBOL(dma_set_mask);
|