ramips: ralink-eth: fix device struct passed to dma functions
authorChuanhong Guo <gch981213@gmail.com>
Mon, 9 Sep 2019 06:52:39 +0000 (14:52 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 12 Apr 2020 14:27:17 +0000 (22:27 +0800)
commit05dee5833a5f2d3d182dfa6de86b3e6b237940e3
treef0a3bdf55ade0a4cff443a9936c18249577fdf6c
parent33d027c5b8fb5265ea84ac41a7bfedd805c48b24
ramips: ralink-eth: 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/ralink/mtk_eth_soc.c