Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 184ac753 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8873c61f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;