[PATCH] sound/oss/es1370: Use the DMA_32BIT_MASK constant

Use the DMA_32BIT_MASK constant from dma-mapping.h when calling
pci_set_dma_mask() or pci_set_consistent_dma_mask() See
http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Tobias Klauser and committed by Linus Torvalds 738c7b4f 3ee538a2

+2 -1
+2 -1
sound/oss/es1370.c
··· 156 #include <linux/spinlock.h> 157 #include <linux/gameport.h> 158 #include <linux/wait.h> 159 160 #include <asm/io.h> 161 #include <asm/page.h> ··· 2570 return -ENODEV; 2571 if (pcidev->irq == 0) 2572 return -ENODEV; 2573 - i = pci_set_dma_mask(pcidev, 0xffffffff); 2574 if (i) { 2575 printk(KERN_WARNING "es1370: architecture does not support 32bit PCI busmaster DMA\n"); 2576 return i;
··· 156 #include <linux/spinlock.h> 157 #include <linux/gameport.h> 158 #include <linux/wait.h> 159 + #include <linux/dma-mapping.h> 160 161 #include <asm/io.h> 162 #include <asm/page.h> ··· 2569 return -ENODEV; 2570 if (pcidev->irq == 0) 2571 return -ENODEV; 2572 + i = pci_set_dma_mask(pcidev, DMA_32BIT_MASK); 2573 if (i) { 2574 printk(KERN_WARNING "es1370: architecture does not support 32bit PCI busmaster DMA\n"); 2575 return i;