summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2019-10-21 23:51:29 +0300
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-22 22:37:07 +0300
commit05f294a852358a46d9236cc777901f49a4f0ae85 (patch)
tree94bdc5aa04031d3c601b7a820339d0ddb0a5a2cf /drivers/net/dsa/microchip
parentd5a619bf60ecf910175606921b4610a2842c635e (diff)
downloadlinux-05f294a852358a46d9236cc777901f49a4f0ae85.tar.xz
net: dsa: allocate ports on touch
Allocate the struct dsa_port the first time it is accessed with dsa_port_touch, and remove the static dsa_port array from the dsa_switch structure. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions