@@ -495,7 +495,7 @@ static int moxart_mac_probe(struct platform_device *pdev)
priv->tx_desc_base = dma_alloc_coherent(&pdev->dev, TX_REG_DESC_SIZE *
TX_DESC_NUM, &priv->tx_base,
- GFP_DMA | GFP_KERNEL);
+ GFP_KERNEL);
if (!priv->tx_desc_base) {
ret = -ENOMEM;
goto init_fail;
@@ -503,7 +503,7 @@ static int moxart_mac_probe(struct platform_device *pdev)
priv->rx_desc_base = dma_alloc_coherent(&pdev->dev, RX_REG_DESC_SIZE *
RX_DESC_NUM, &priv->rx_base,
- GFP_DMA | GFP_KERNEL);
+ GFP_KERNEL);
if (!priv->rx_desc_base) {
ret = -ENOMEM;
goto init_fail;