forcedeth: replace pci_alloc_consistent with dma_alloc_coherent
commite8992e408273334375bfe8f03267dcdef3a8c2e6
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sat, 28 Oct 2017 12:25:30 +0000 (28 08:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 03:03:28 +0000 (1 12:03 +0900)
tree5a938e43b7d1fa32e49931fc7f75a6fe182e94da
parentdb32919005d81a375093936a1f625f2d08c2d299
forcedeth: replace pci_alloc_consistent with dma_alloc_coherent

The functions pci_alloc_consistent is obsolete. So it is replaced
with dma_alloc_coherent

Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c