diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 01:01:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 01:01:26 -0300 |
commit | f1cac250b990f7cd71c0ed048b57719273b93cea (patch) | |
tree | 5c62fbed287af88c67d0f9a788ff5390be713752 /linux/drivers/media/dvb/pt1 | |
parent | 7e64172778f38790cb77a147a6448a7816628fdf (diff) | |
download | mediapointer-dvb-s2-f1cac250b990f7cd71c0ed048b57719273b93cea.tar.gz mediapointer-dvb-s2-f1cac250b990f7cd71c0ed048b57719273b93cea.tar.bz2 |
pt1: Don't use a deprecated DMA_BIT_MASK macro
From: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/pt1/pt1.c: In function ‘pt1_probe’:
drivers/media/dvb/pt1/pt1.c:915: warning: ‘DMA_nnBIT_MASK’ is deprecated
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/pt1')
-rw-r--r-- | linux/drivers/media/dvb/pt1/pt1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/pt1/pt1.c b/linux/drivers/media/dvb/pt1/pt1.c index ef0f7d235..8ffbcecad 100644 --- a/linux/drivers/media/dvb/pt1/pt1.c +++ b/linux/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; |