diff options
| author | Arun Ramadoss <[email protected]> | 2022-06-22 14:34:23 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-06-24 11:31:44 +0100 |
| commit | 6ec23aaaac43c9ab2e5f9dbfeedd5290d1803892 (patch) | |
| tree | 33739fa67d26b7201d151975ed9c03caa413cef5 /include/linux/debugobjects.h | |
| 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions