net: fec: pass ->dev to dma_alloc__coherent() API
authorFugang Duan <fugang.duan@nxp.com>
Tue, 11 Apr 2017 11:13:05 +0000 (19:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 18:36:27 +0000 (14:36 -0400)
commit949201286fa4a481d8302f8b886ca565039bafcd
tree806480ad583ccd6ac9a6a4308a843a541a40d5fb
parent145d6e295f12681ed564d32fff3dabf9292f6871
net: fec: pass ->dev to dma_alloc__coherent() API

In aarch64 system, it requires to trasfer ->dev to dma_alloc_coherent()
API, otherwise allocate failed and print kernel warning.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c