]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: realtek: rename realtek_smi to realtek_priv
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 28 Jan 2022 06:04:59 +0000 (03:04 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2022 15:02:49 +0000 (15:02 +0000)
commitf5f119077b1cd687a2d3b7a5fa736949b5bce0f6
treed77c4ae9cae227add122fa8cdd810fc65baeca25
parent319a70a5fea9590e9431dd57f56191996c4787f4
net: dsa: realtek: rename realtek_smi to realtek_priv

In preparation to adding other interfaces, the private data structure
was renamed to priv. Also, realtek_smi_variant and realtek_smi_ops
were renamed to realtek_variant and realtek_ops as those structs are
not SMI specific.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/realtek/realtek-smi-core.c
drivers/net/dsa/realtek/realtek-smi-core.h [deleted file]
drivers/net/dsa/realtek/realtek.h [new file with mode: 0644]
drivers/net/dsa/realtek/rtl8365mb.c
drivers/net/dsa/realtek/rtl8366.c
drivers/net/dsa/realtek/rtl8366rb.c