diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-16 21:06:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:45 -0500 |
commit | 184ac7535ee078a4572b668a348134d67c3977d2 (patch) | |
tree | 139b449f12a3c6def64603e5fee16d43ef19faf5 /drivers/media/dvb | |
parent | 8873c61f1fe849bc8719839ddfa3300266f8bc39 (diff) |
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>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_pci.c b/drivers/media/dvb/mantis/mantis_pci.c index 5e4f57615ad1..e7cd8aabd887 100644 --- a/drivers/media/dvb/mantis/mantis_pci.c +++ b/drivers/media/dvb/mantis/mantis_pci.c | |||
@@ -73,7 +73,7 @@ int __devinit mantis_pci_init(struct mantis_pci *mantis) | |||
73 | goto fail0; | 73 | goto fail0; |
74 | } | 74 | } |
75 | 75 | ||
76 | err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 76 | err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); |
77 | if (err != 0) { | 77 | if (err != 0) { |
78 | dprintk(MANTIS_ERROR, 1, "ERROR: Unable to obtain 32 bit DMA <%i>", err); | 78 | dprintk(MANTIS_ERROR, 1, "ERROR: Unable to obtain 32 bit DMA <%i>", err); |
79 | ret = -ENOMEM; | 79 | ret = -ENOMEM; |