]> git.baikalelectronics.ru Git - uboot.git/commit
net: dsa: move cpu port probe to dsa_post_probe
authorTim Harvey <tharvey@gateworks.com>
Wed, 30 Nov 2022 17:42:45 +0000 (09:42 -0800)
committerTom Rini <trini@konsulko.com>
Thu, 2 Feb 2023 19:22:08 +0000 (14:22 -0500)
commit9db106845d43d4f1b4799e40ca8f55190c637d2c
treed6f89e3bbeeebcae1e255b593a227e8b24a71829
parentbc6164beb71b16ccd224eb13a8d4021b221782d1
net: dsa: move cpu port probe to dsa_post_probe

In order to ensure that a DSA driver probe gets called before
dsa_ops->port_probe move the port_probe of the cpu_port to
a post-probe function.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
net/dsa-uclass.c