You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24)
Replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ce0b620160
commit
2f4f27d42a
+1
-1
@@ -141,7 +141,7 @@ int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev)
|
||||
isa_dev->dev.release = isa_dev_release;
|
||||
isa_dev->id = id;
|
||||
|
||||
isa_dev->dev.coherent_dma_mask = DMA_24BIT_MASK;
|
||||
isa_dev->dev.coherent_dma_mask = DMA_BIT_MASK(24);
|
||||
isa_dev->dev.dma_mask = &isa_dev->dev.coherent_dma_mask;
|
||||
|
||||
error = device_register(&isa_dev->dev);
|
||||
|
||||
Reference in New Issue
Block a user