diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-26 16:50:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-28 11:50:12 +0200 |
commit | 57ab1ca215971702df534ae93cd76c15ca084c77 (patch) | |
tree | 0df18a97aae74380a6c12003a3f666ee81007beb /Kbuild | |
parent | bnxt_en: Fix randconfig build errors. (diff) | |
download | linux-57ab1ca215971702df534ae93cd76c15ca084c77.tar.xz linux-57ab1ca215971702df534ae93cd76c15ca084c77.zip |
net: dsa: move fixed link registration helpers
The new bindings (dsa2.c) and the old bindings (legacy.c) share two
helpers dsa_cpu_dsa_setup and dsa_cpu_dsa_destroy, used to register or
deregister a fixed PHY if a given port has a corresponding device node.
Unclutter the code by moving them into two new port.c helpers,
dsa_port_fixed_link_register_of and dsa_port_fixed_link_(un)register_of.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions