]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb12a57b8b9eb049a20fc6f01fc19ab8480a71cd8
tree5b2571d46f9ebc0692b71316df8e0ae809a7dbb8
parent992f193ba4c93a9ae51065a889b750e88f966497
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