]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: move bridge device in dsa_port
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 27 Jan 2017 20:29:40 +0000 (15:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:42:46 +0000 (18:42 -0500)
commit3da49e858a7d8457b879556d5b10ba44988f5b5a
tree5787999ff8ca60139e33b7da23ade7a13a63f3d3
parentf753295955bc8b2aac49f51d65261519c37d33e3
net: dsa: move bridge device in dsa_port

Move the bridge_dev pointer from dsa_slave_priv to dsa_port so that DSA
drivers can access this information and remove the need to cache it.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa_priv.h
net/dsa/slave.c