diff options
Diffstat (limited to 'drivers/net/irda/pxaficp_ir.c')
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 858de05bdb7d..964b116a0ab7 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -700,12 +700,12 @@ static int pxa_irda_start(struct net_device *dev) | |||
700 | 700 | ||
701 | err = -ENOMEM; | 701 | err = -ENOMEM; |
702 | si->dma_rx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, | 702 | si->dma_rx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, |
703 | &si->dma_rx_buff_phy, GFP_KERNEL ); | 703 | &si->dma_rx_buff_phy, GFP_KERNEL); |
704 | if (!si->dma_rx_buff) | 704 | if (!si->dma_rx_buff) |
705 | goto err_dma_rx_buff; | 705 | goto err_dma_rx_buff; |
706 | 706 | ||
707 | si->dma_tx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, | 707 | si->dma_tx_buff = dma_alloc_coherent(si->dev, IRDA_FRAME_SIZE_LIMIT, |
708 | &si->dma_tx_buff_phy, GFP_KERNEL ); | 708 | &si->dma_tx_buff_phy, GFP_KERNEL); |
709 | if (!si->dma_tx_buff) | 709 | if (!si->dma_tx_buff) |
710 | goto err_dma_tx_buff; | 710 | goto err_dma_tx_buff; |
711 | 711 | ||