net: ti: icssg-prueth: Move common functions into a separate file
authorDiogo Ivo <diogo.ivo@siemens.com>
Wed, 3 Apr 2024 10:48:13 +0000 (11:48 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Apr 2024 07:47:29 +0000 (09:47 +0200)
commite2dc7bfd677fc454668eb5bf0eab74ea35691040
treefd13a4dadb281a95103dc504a05c0b00867a1f7f
parente1900d7ba9c9fd9edb214c43d2826876a5a35057
net: ti: icssg-prueth: Move common functions into a separate file

In order to allow code sharing between Silicon Revisions 1.0 and 2.0
move all functions that can be shared into a common file. This commit
introduces no functional changes.

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/Makefile
drivers/net/ethernet/ti/icssg/icssg_common.c [new file with mode: 0644]
drivers/net/ethernet/ti/icssg/icssg_prueth.c
drivers/net/ethernet/ti/icssg/icssg_prueth.h