]> git.dujemihanovic.xyz Git - u-boot.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)
commitc5868fcd25c670f5c4e37afca2c5eaddadd218b4
treed6f89e3bbeeebcae1e255b593a227e8b24a71829
parentf54002d774d1cd215a0f12da7a3c06f539ae92ea
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