ramips: mtk_eth_soc: fix device struct passed to dma functions
authorChuanhong Guo <gch981213@gmail.com>
Mon, 9 Sep 2019 06:52:39 +0000 (14:52 +0800)
committerPetr Štetiar <ynezz@true.cz>
Fri, 6 Dec 2019 22:24:24 +0000 (23:24 +0100)
commitac072c5b08fdeffb520a30535a161f7ac8848238
tree40168e4aa6bdcb40690d812bc532cefcda58cfef
parent49c85bac703e08c146ea3d9703febed1a07c391a
ramips: mtk_eth_soc: fix device struct passed to dma functions

dma functions needs the struct from platform_device instead of
the one for ethernet interface.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/files/drivers/net/ethernet/mediatek/mtk_eth_soc.c