diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-06-22 14:34:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-24 11:31:44 +0100 |
commit | 6ec23aaaac43c9ab2e5f9dbfeedd5290d1803892 (patch) | |
tree | 33739fa67d26b7201d151975ed9c03caa413cef5 /net/unix/af_unix.c | |
parent | 07bca160469b4d19ca0a35bc83b26ed18fcbd96d (diff) |
net: dsa: microchip: move ksz_dev_ops to ksz_common.c
This patch move the ksz_dev_ops from individual files to ksz_common.c.
And the dev_ops is assigned to ksz_device based on the switch detect.
This reduces the redundant function and allows to reuse the
functionality for LAN937x which has similar register set.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions