Re: [PATCH net-next] net: phy: add a Kconfig option for mdio_devres

2020-07-07 Thread David Miller
From: Bartosz Golaszewski Date: Sun, 5 Jul 2020 11:55:47 +0200 > From: Bartosz Golaszewski > > If phylib is built as a module and CONFIG_MDIO_DEVICE is 'y', the > mdio_device and mdio_bus code will be in the phylib module, not in the > kernel image. Meanwhile we build mdio_devres depending on

[PATCH net-next] net: phy: add a Kconfig option for mdio_devres

2020-07-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski If phylib is built as a module and CONFIG_MDIO_DEVICE is 'y', the mdio_device and mdio_bus code will be in the phylib module, not in the kernel image. Meanwhile we build mdio_devres depending on the CONFIG_MDIO_DEVICE symbol, so if it's 'y', it will go into the kernel an