diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-11-06 22:11:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-09 01:26:49 +0100 |
commit | 17a22fcfc84a422d98a0f54e67d4ee8ee3875849 (patch) | |
tree | d8ebb6b8988e6f29b2c3fe048d2b93cad639ddcf /kernel/cpu_pm.c | |
parent | net: dsa: setup and teardown default CPU port (diff) | |
download | linux-17a22fcfc84a422d98a0f54e67d4ee8ee3875849.tar.xz linux-17a22fcfc84a422d98a0f54e67d4ee8ee3875849.zip |
net: dsa: setup and teardown master device
Add DSA helpers to setup and teardown a master net device wired to its
CPU port. This centralizes the dsa_ptr assignment.
This also makes the master ethtool helpers static at the same time.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions