[PATCH v2 net-next 2/5] net: phy: make mdio_device.c part of libphy
Stephen Boyd
sboyd at kernel.org
Sat Apr 11 17:25:12 PDT 2026
Quoting Heiner Kallweit (2026-03-09 10:03:31)
> This patch
> - makes mdio_device.c part of libphy
> - makes mdio_device_(un)register_reset() static
> - moves mdiobus_(un)register_device() from mdio_bus.c to mdio_device.c,
> stops exporting both functions and makes them private to phylib
>
> This further decouples the MDIO consumer functionality from libphy.
>
> Note: This makes MDIO driver registration part of phylib, therefore
> adjust Kconfig dependencies where needed.
>
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>
> ---
Acked-by: Stephen Boyd <sboyd at kernel.org>
More information about the linux-phy
mailing list