forked from Minki/linux
V4L/DVB (13808b): mantis: replace DMA_nnBIT_MASK to DMA_BIT_MASK(32)
drivers/media/dvb/mantis/mantis_pci.c: In function ‘mantis_pci_init’: drivers/media/dvb/mantis/mantis_pci.c:76: warning: ‘DMA_nnBIT_MASK’ is deprecated Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
8873c61f1f
commit
184ac7535e
@ -73,7 +73,7 @@ int __devinit mantis_pci_init(struct mantis_pci *mantis)
|
||||
goto fail0;
|
||||
}
|
||||
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
|
||||
if (err != 0) {
|
||||
dprintk(MANTIS_ERROR, 1, "ERROR: Unable to obtain 32 bit DMA <%i>", err);
|
||||
ret = -ENOMEM;
|
||||
|
Loading…
Reference in New Issue
Block a user