]> git.baikalelectronics.ru Git - kernel.git/commit
net: mediatek: move the pending_work struct to the device generic struct
authorJohn Crispin <blogic@openwrt.org>
Thu, 7 Apr 2016 22:54:10 +0000 (00:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 02:41:33 +0000 (22:41 -0400)
commita51870a604908264d3020ed7d7a9a6117228e5be
tree3ce4c4007249ee3452eca49a2fc350e5b80e2a3f
parent77aa32f3a6db5549e9d98fe70f3408894e158ea2
net: mediatek: move the pending_work struct to the device generic struct

The worker always touches both netdevs. It is ethernet core and not MAC
specific. We only need one worker, which belongs into the ethernets core
struct.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h