diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-06 22:01:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 11:31:11 -0400 |
commit | 28b767967763835d8526f6baedc25a8a86052640 (patch) | |
tree | 32dc0df187bd1906bf49f47ecbdda60d21b5c124 /sound/pci/trident/trident_main.c | |
parent | 929a22a558429bd22001d6b41cf31c233c68a5e2 (diff) |
dma-mapping: replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30)
Replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30)
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/pci/trident/trident_main.c')
-rw-r--r-- | sound/pci/trident/trident_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c index a9da9c184660..6d943f6f6b70 100644 --- a/sound/pci/trident/trident_main.c +++ b/sound/pci/trident/trident_main.c | |||
@@ -3559,8 +3559,8 @@ int __devinit snd_trident_create(struct snd_card *card, | |||
3559 | if ((err = pci_enable_device(pci)) < 0) | 3559 | if ((err = pci_enable_device(pci)) < 0) |
3560 | return err; | 3560 | return err; |
3561 | /* check, if we can restrict PCI DMA transfers to 30 bits */ | 3561 | /* check, if we can restrict PCI DMA transfers to 30 bits */ |
3562 | if (pci_set_dma_mask(pci, DMA_30BIT_MASK) < 0 || | 3562 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(30)) < 0 || |
3563 | pci_set_consistent_dma_mask(pci, DMA_30BIT_MASK) < 0) { | 3563 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(30)) < 0) { |
3564 | snd_printk(KERN_ERR "architecture does not support 30bit PCI busmaster DMA\n"); | 3564 | snd_printk(KERN_ERR "architecture does not support 30bit PCI busmaster DMA\n"); |
3565 | pci_disable_device(pci); | 3565 | pci_disable_device(pci); |
3566 | return -ENXIO; | 3566 | return -ENXIO; |