Skip to content

Commit

Permalink
Merge branch 'renesas-dma-channel'
Browse files Browse the repository at this point in the history
Sergei Shtylyov says:

====================
Fix DMA channel misreporting for the Renesas Ethernet drivers

Here's a set of 2 patches against DaveM's 'net.git' repo fixing up the DMA
channel reporting by 'ifconfig'...
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 19, 2016
2 parents eab8146 + 3c78658 commit bcf77d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/net/ethernet/renesas/ravb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,6 @@ static int ravb_probe(struct platform_device *pdev)

/* The Ether-specific entries in the device structure. */
ndev->base_addr = res->start;
ndev->dma = -1;

chip_id = (enum ravb_chip_id)of_device_get_match_data(&pdev->dev);

Expand Down
1 change: 0 additions & 1 deletion drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2996,7 +2996,6 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
if (devno < 0)
devno = 0;

ndev->dma = -1;
ret = platform_get_irq(pdev, 0);
if (ret < 0)
goto out_release;
Expand Down

0 comments on commit bcf77d5

Please sign in to comment.