commit | fb8a6a2b8b7cfee8a0cf2cd431e1d0f45dd1c9e0 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Sep 22 19:01:56 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 25 20:22:46 2017 -0700 |
tree | 0668bc999f2cc8a159fe82d285377601ec66374a | |
parent | 6457edfe7344ac1da334b9f24a42aacea084a451 [diff] |
net: dsa: add port enable and disable helpers Provide dsa_port_enable and dsa_port_disable helpers to respectively enable and disable a switch port. This makes the dsa_port_set_state_now helper static. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>