projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff88bc
)
V4L/DVB (13033): pt1: Don't use a deprecated DMA_BIT_MASK macro
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 19 Sep 2009 04:01:26 +0000
(
01:01
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 19 Sep 2009 04:08:20 +0000
(
01:08
-0300)
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>
drivers/media/dvb/pt1/pt1.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/pt1/pt1.c
b/drivers/media/dvb/pt1/pt1.c
index ef0f7d235e2a701fc798fb718a067cd2b5d902fe..8ffbcecad931b99e72fe504ae8eef36310995c65 100644
(file)
--- 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)
if (ret < 0)
goto err;
- ret = pci_set_dma_mask(pdev, DMA_
32BIT_MASK
);
+ ret = pci_set_dma_mask(pdev, DMA_
BIT_MASK(32)
);
if (ret < 0)
goto err_pci_disable_device;