aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:01:26 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:08:20 -0400
commit84d6ae431f315e8973aac3c3fe1d550fc9240ef3 (patch)
treeffd4e715c95b7bece42512379a4818a37bee458c /drivers
parent2ff88bc34314ace6035b5aecd36e786342e64758 (diff)
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: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/pt1/pt1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c
index ef0f7d235e2a..8ffbcecad931 100644
--- a/drivers/media/dvb/pt1/pt1.c
+++ b/drivers/media/dvb/pt1/pt1.c
@@ -912,7 +912,7 @@ pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
912 if (ret < 0) 912 if (ret < 0)
913 goto err; 913 goto err;
914 914
915 ret = pci_set_dma_mask(pdev, DMA_32BIT_MASK); 915 ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
916 if (ret < 0) 916 if (ret < 0)
917 goto err_pci_disable_device; 917 goto err_pci_disable_device;
918 918