net: ethernet: ti: cpsw: move common hw init code in separate func
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Apr 2019 17:12:39 +0000 (20:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 21:11:49 +0000 (17:11 -0400)
commite6a84624911336599c0c8e8f6d5aa068c891a458
tree5b2571d46f9ebc0692b71316df8e0ae809a7dbb8
parent5dea39851476216f6535a9fb0320611bdb576d49
net: ethernet: ti: cpsw: move common hw init code in separate func

move common hw init code in separate function as preparation for adding new
switchdev driver.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/Makefile
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpsw_priv.c [new file with mode: 0644]
drivers/net/ethernet/ti/cpsw_priv.h