net: dsa: realtek: convert subdrivers into modules
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 28 Jan 2022 06:05:01 +0000 (03:05 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2022 15:02:49 +0000 (15:02 +0000)
commit765c39a4fafe6f7ea0d370aa5f30c811579cf8eb
tree4da890953c409e22ed5b8a8ae06e9e4cfebe49a9
parentcd645dc556e2f633cee88a3f1ca3e7209bcdaa7e
net: dsa: realtek: convert subdrivers into modules

Preparing for multiple interfaces support, the drivers
must be independent of realtek-smi.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/realtek/Kconfig
drivers/net/dsa/realtek/Makefile
drivers/net/dsa/realtek/realtek-smi.c [moved from drivers/net/dsa/realtek/realtek-smi-core.c with 97% similarity]
drivers/net/dsa/realtek/rtl8365mb.c
drivers/net/dsa/realtek/rtl8366-core.c [moved from drivers/net/dsa/realtek/rtl8366.c with 100% similarity]
drivers/net/dsa/realtek/rtl8366rb.c