Subject: Re: [net-next v4 3/3] net: phy: motorcomm: Add YT8522 100M RMII PHY support

From: Jakub Kicinski <[email-masked]>
Date: Wed, 20 May 2026 14:51:41 -0700

On Wed, 20 May 2026 18:13:10 +0800 Minda Chen wrote:
> Add YT8522 100M RMII ethernet PHY base driver support, including
> PHY ID and base config init function.

drivers/net/phy/motorcomm.c:1871:6: error: call to undeclared function 'of_property_read_bool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1871 |         if (of_property_read_bool(node, "motorcomm,auto-sleep-disabled")) {
      |             ^
../drivers/net/phy/motorcomm.c:1871:6: note: did you mean 'fwnode_property_read_bool'?
../include/linux/property.h:59:6: note: 'fwnode_property_read_bool' declared here
   59 | bool fwnode_property_read_bool(const struct fwnode_handle *fwnode,
      |      ^
1 error generated.