net: mscc: Move mac_table_add function into different file.
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 31 Jan 2019 14:30:36 +0000 (15:30 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 1 Feb 2019 13:13:36 +0000 (14:13 +0100)
commit45f2748c50c676db2374c7d0a526b70db5ed86f7
treefd311907db2c40e3db16f8a667bc9825989c8f90
parent36d04f52ff3e832862a25bf474f0224e995b6ca1
net: mscc: Move mac_table_add function into different file.

Move the function mac_table_add into a different file,
so it can be reused.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
drivers/net/mscc_eswitch/Makefile
drivers/net/mscc_eswitch/mscc_mac_table.c [new file with mode: 0644]
drivers/net/mscc_eswitch/mscc_mac_table.h [new file with mode: 0644]
drivers/net/mscc_eswitch/ocelot_switch.c