summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/vitesse-vsc73xx-core.c
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2024-02-09 02:03:40 -0300
committerDavid S. Miller <davem@davemloft.net>2024-02-12 10:42:17 +0000
commit4667a1db2f550d23e01ba655fce331196ead6e92 (patch)
treebd3a33031f4cb656b33af0b9aa53cbe749719005 /drivers/net/dsa/vitesse-vsc73xx-core.c
parentbce254b839abe67577bebdef0838796af409c229 (diff)
net: dsa: realtek: keep variant reference in realtek_priv
Instead of copying values from the variant, we can keep a reference in realtek_priv. This is a preliminary change for sharing code betwen interfaces. It will allow to move most of the probe into a common module while still allow code specific to each interface to read variant fields. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/vitesse-vsc73xx-core.c')
0 files changed, 0 insertions, 0 deletions