]> 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)
commit27b781d47f9f75d3cffc8a6cb5db7cbaf76c3a15
tree3ce4c4007249ee3452eca49a2fc350e5b80e2a3f
parent761e66c2a643e8689b6b73bdf6be2381c4c681d9
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