Skip to content
Commit 94920128 authored by Fugang Duan's avatar Fugang Duan Committed by David S. Miller
Browse files

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: default avatarFugang Duan <B38611@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 145d6e29
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment