Commit 84d6ae43 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (13033): pt1: Don't use a deprecated DMA_BIT_MASK macro

drivers/media/dvb/pt1/pt1.c: In function ‘pt1_probe’:
drivers/media/dvb/pt1/pt1.c:915: warning: ‘DMA_nnBIT_MASK’ is deprecated
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2ff88bc3
...@@ -912,7 +912,7 @@ pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -912,7 +912,7 @@ pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (ret < 0) if (ret < 0)
goto err; goto err;
ret = pci_set_dma_mask(pdev, DMA_32BIT_MASK); ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
if (ret < 0) if (ret < 0)
goto err_pci_disable_device; goto err_pci_disable_device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment