Skip to content

Commit

Permalink
rt2x00pci: do not use GFP_DMA
Browse files Browse the repository at this point in the history
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
  • Loading branch information
John W. Linville committed Nov 15, 2010
1 parent 26f94dc commit b923757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rt2x00/rt2x00pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev,
*/
addr = dma_alloc_coherent(rt2x00dev->dev,
queue->limit * queue->desc_size,
&dma, GFP_KERNEL | GFP_DMA);
&dma, GFP_KERNEL);
if (!addr)
return -ENOMEM;

Expand Down

0 comments on commit b923757

Please sign in to comment.