Commit b9237578 authored by John W. Linville's avatar John W. Linville

rt2x00pci: do not use GFP_DMA

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Acked-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
parent 26f94dc2
...@@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev, ...@@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev,
*/ */
addr = dma_alloc_coherent(rt2x00dev->dev, addr = dma_alloc_coherent(rt2x00dev->dev,
queue->limit * queue->desc_size, queue->limit * queue->desc_size,
&dma, GFP_KERNEL | GFP_DMA); &dma, GFP_KERNEL);
if (!addr) if (!addr)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment