commit | 3a8f6f874fa1ac004157fb3df742a5034718a2ce | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Wed Aug 02 15:48:25 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 03 09:30:11 2017 -0700 |
tree | 0321650ac646a10abd0ee67670e587d59e968554 | |
parent | 2d29b39739b94f02196d99502126f269fd8ec2ea [diff] |
net: dsa: bcm_sf2: dst in not an array It's been a while now since ds->dst is not an array anymore, but a simple pointer to a dsa_switch_tree. Fortunately, SF2 does not support multi-chip and thus ds->index is always 0. This patch substitutes 'ds->dst[ds->index].' with 'ds->dst->'. 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>