diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-06-17 14:12:51 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-21 15:26:45 +0200 |
commit | e593df51ffe8ad7d29c8bd6cd2bd614ad1f88005 (patch) | |
tree | 5ba559ac9fa23f9761d2f0912a4070fe75c7cf73 /net/unix/af_unix.c | |
parent | 00a298bbc23876288b1cd04c38752d8e7ed53ae2 (diff) | |
download | linux-e593df51ffe8ad7d29c8bd6cd2bd614ad1f88005.tar.gz linux-e593df51ffe8ad7d29c8bd6cd2bd614ad1f88005.tar.bz2 linux-e593df51ffe8ad7d29c8bd6cd2bd614ad1f88005.zip |
net: dsa: microchip: get P_STP_CTRL in ksz_port_stp_state by ksz_dev_ops
At present, P_STP_CTRL register value is passed as parameter to
ksz_port_stp_state from the individual dsa_switch_ops hooks. This patch
update the function to retrieve the register value through the
ksz_chip_data member.
And add the static to ksz_update_port_member since it is not called
outside the ksz_common.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions