summaryrefslogtreecommitdiff
path: root/net/dsa/Makefile
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-20 00:00:43 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-23 02:37:32 +0300
commit072bb1903a0ff810c6091d2f6bf7c80e76dab0e6 (patch)
treee1c9c95457c812dc50f73b39c104806baa13108e /net/dsa/Makefile
parentc02c4175cb9f434af8f20045dd43ae9e573c8da2 (diff)
downloadlinux-072bb1903a0ff810c6091d2f6bf7c80e76dab0e6.tar.xz
net: dsa: change scope of ageing time setter
Change the scope of the switchdev bridge ageing time attribute setter from the DSA slave device to the generic DSA port, so that the future port-wide API can also be used for other port types, such as CPU and DSA links. Also ds->ports is now a contiguous array of dsa_port structures, thus their addresses cannot be NULL. Remove the useless check in dsa_fastest_ageing_time. 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/dsa/Makefile')
0 files changed, 0 insertions, 0 deletions