diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-16 17:12:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-18 13:24:33 +0200 |
commit | d945097bb19501bd95790d8220d4eeb418b6ebb2 (patch) | |
tree | ff83357b296408d65537c9e04f5880cf0dba7aff /net/mac80211/cfg.c | |
parent | net: dsa: add slave notify helper (diff) | |
download | linux-d945097bb19501bd95790d8220d4eeb418b6ebb2.tar.xz linux-d945097bb19501bd95790d8220d4eeb418b6ebb2.zip |
net: dsa: add slave to port helper
Many portions of DSA core code require to get the dsa_port structure
corresponding to a slave net_device. For this purpose, introduce a
dsa_slave_to_port() helper.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions