diff options
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8180_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180_dev.c b/drivers/net/wireless/rtl818x/rtl8180_dev.c index cbdc5cfec90c..9430f962c168 100644 --- a/drivers/net/wireless/rtl818x/rtl8180_dev.c +++ b/drivers/net/wireless/rtl818x/rtl8180_dev.c | |||
@@ -926,8 +926,8 @@ static int __devinit rtl8180_probe(struct pci_dev *pdev, | |||
926 | goto err_free_reg; | 926 | goto err_free_reg; |
927 | } | 927 | } |
928 | 928 | ||
929 | if ((err = pci_set_dma_mask(pdev, 0xFFFFFF00ULL)) || | 929 | if ((err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) || |
930 | (err = pci_set_consistent_dma_mask(pdev, 0xFFFFFF00ULL))) { | 930 | (err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)))) { |
931 | printk(KERN_ERR "%s (rtl8180): No suitable DMA available\n", | 931 | printk(KERN_ERR "%s (rtl8180): No suitable DMA available\n", |
932 | pci_name(pdev)); | 932 | pci_name(pdev)); |
933 | goto err_free_reg; | 933 | goto err_free_reg; |