]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: move napi struct to cpsw_common
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 9 Aug 2016 23:22:43 +0000 (02:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2016 00:27:40 +0000 (17:27 -0700)
commit1f2ff31ec507a7f4386e30218a7f15a9d191241b
tree34e5a05721e2c11a089dbd984300a67110addac7
parent0f2ac00a65ed0a6f5141ed68774470d1f2a260b4
net: ethernet: ti: cpsw: move napi struct to cpsw_common

The napi structs are common for both net devices in dual_emac
mode, In order to not hold duplicate links to them, move to
cpsw_common.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c