Commit e5695f0800f8450d9a48efb1424918d18093b00b
Committed by
David S. Miller
1 parent
56cb515628
Exists in
master
and in
7 other branches
[ATM]: [he] Use the DMA_32BIT_MASK constant from dma-mapping.h
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 2 changed files with 2 additions and 3 deletions Side-by-side Diff
drivers/atm/he.c
... | ... | @@ -70,6 +70,7 @@ |
70 | 70 | #include <linux/sched.h> |
71 | 71 | #include <linux/timer.h> |
72 | 72 | #include <linux/interrupt.h> |
73 | +#include <linux/dma-mapping.h> | |
73 | 74 | #include <asm/io.h> |
74 | 75 | #include <asm/byteorder.h> |
75 | 76 | #include <asm/uaccess.h> |
... | ... | @@ -371,7 +372,7 @@ |
371 | 372 | |
372 | 373 | if (pci_enable_device(pci_dev)) |
373 | 374 | return -EIO; |
374 | - if (pci_set_dma_mask(pci_dev, HE_DMA_MASK) != 0) { | |
375 | + if (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK) != 0) { | |
375 | 376 | printk(KERN_WARNING "he: no suitable dma available\n"); |
376 | 377 | err = -EIO; |
377 | 378 | goto init_one_failure; |
drivers/atm/he.h