[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210624005151.3735706-1-mw@semihalf.com>
Date: Thu, 24 Jun 2021 02:51:51 +0200
From: Marcin Wojtas <mw@...ihalf.com>
To: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, linux@...linux.org.uk,
jon@...id-run.com, tn@...ihalf.com, jaz@...ihalf.com,
hkallweit1@...il.com, andrew@...n.ch,
Marcin Wojtas <mw@...ihalf.com>
Subject: [net-next: PATCH] net: mdiobus: fix fwnode_mdbiobus_register() fallback case
The fallback case of fwnode_mdbiobus_register()
(relevant for !CONFIG_FWNODE_MDIO) was defined with wrong
argument name, causing a compilation error. Fix that.
Signed-off-by: Marcin Wojtas <mw@...ihalf.com>
---
include/linux/fwnode_mdio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/fwnode_mdio.h b/include/linux/fwnode_mdio.h
index 13d4ae8fee0a..f62817c23137 100644
--- a/include/linux/fwnode_mdio.h
+++ b/include/linux/fwnode_mdio.h
@@ -40,7 +40,7 @@ static inline int fwnode_mdiobus_register(struct mii_bus *bus,
* This way, we don't have to keep compat bits around in drivers.
*/
- return mdiobus_register(mdio);
+ return mdiobus_register(bus);
}
#endif
--
2.29.0
Powered by blists - more mailing lists