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

Every net device private struct holds links to shared cpdma resources.
No need to save and every time synchronize these resources per net dev.
So, move it to common driver struct.

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