summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/apm
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-20 08:56:30 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-20 18:59:34 -0400
commitbf3c592b9d78ab2768150c680de22ef99e6e3b32 (patch)
tree58f8a48ce31f1687708257f6247f82aa860c5f3f /drivers/net/ethernet/apm
parentbf4bd7a727a13f810c003f592425171adbbd0cda (diff)
net: dsa: b53: Extend platform data to include DSA ports
The b53 driver already defines and internally uses platform data to let the glue drivers specify parameters such as the chip id. What we were missing was a way to tell the core DSA layer about the ports and their type. Place a dsa_chip_data structure at the beginning of b53_platform_data for dsa_register_switch() to access it. This does not require modifications to b53_common.c which will pass platform_data trough. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm')
0 files changed, 0 insertions, 0 deletions