commit | a5b930e0598dc46184af0282c23c75b2167d9384 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Oct 16 11:12:13 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 18 12:24:33 2017 +0100 |
tree | 773939757dbc0644e6f4ede5c2a64493b1262d82 | |
parent | a2084f5650624edd0805dc78260d097df4f38eb6 [diff] |
net: dsa: use port's cpu_dp when creating a slave When dsa_slave_create is called, the related port already has a CPU port assigned to it, available in its cpu_dp member. Use it instead of the unique tree cpu_dp. 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>