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)
commit7c78b4ad9bbdbe0bb4fbc98841ad9d904ee116e9
tree3ce4c4007249ee3452eca49a2fc350e5b80e2a3f
parente7d425dcea032f1d0b44b6fa4c6735f13882de6e
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