> @@ -251,8 +251,9 @@ dsa_switch_setup(struct dsa_switch_tree *dst, struct > net_device *master, > ds->cd = cd; > ds->ops = ops; > ds->priv = priv; > + ds->dev = parent;
Hi Vivien Is this even needed? dsa_switch_alloc() does ds->dev = dev. Andrew
> @@ -251,8 +251,9 @@ dsa_switch_setup(struct dsa_switch_tree *dst, struct > net_device *master, > ds->cd = cd; > ds->ops = ops; > ds->priv = priv; > + ds->dev = parent;
Hi Vivien Is this even needed? dsa_switch_alloc() does ds->dev = dev. Andrew