]> 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)
commitf651067a17281495ff454a8aaf6b5fcbc73ba0e2
tree5787999ff8ca60139e33b7da23ade7a13a63f3d3
parentae8e75cc88aff8da7393a8171543f8719d48d8f1
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