From: Florian Fainelli <f.faine...@gmail.com> Date: Sun, 20 May 2018 08:56:30 -0700
> 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.faine...@gmail.com> Applied, thanks.