On Wed, Mar 22, 2023 at 12:00:06PM +0000, Russell King (Oracle) wrote: > In preparation for supporting the use of software nodes to setup > phylink, switch DSA to use fwnode_get_phy_mode() to retrieve the > phy interface mode, rather than using of_get_phy_mode() which is > DT specific. ... > + struct fwnode_handle *fwnode; > + fwnode = of_fwnode_handle(dp->dn); const struct fwnode_handle *fwnode = of_fwnode_handle(dp->dn); ? -- With Best Regards, Andy Shevchenko