net: ethernet: ti: cpsw: move napi struct to cpsw_common
commitdbc4ec522d2ee2b3fa24d329a7a63594aba3b069
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 9 Aug 2016 23:22:43 +0000 (10 02:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2016 00:27:40 +0000 (10 17:27 -0700)
tree34e5a05721e2c11a089dbd984300a67110addac7
parent606f39939595a4d4540406bfc11f265b2036af6d
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