net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig
authorMarek Vasut <marex@denx.de>
Mon, 11 Jan 2021 12:50:46 +0000 (13:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 02:42:36 +0000 (18:42 -0800)
commitf0791b92d2b6e1bf36aed0eae93a0ef85eaa3a62
tree95cee8e8505a7aab9877b5cd9172d9ec0f8d83e3
parentc73a45965dd54a10c368191804b9de661eee1007
net: ks8851: Select PHYLIB and MICREL_PHY in Kconfig

The PHYLIB must be selected to provide mdiobus_*() functions, and the
MICREL_PHY is necessary too, as that is the only possible PHY attached
to the KS8851 (it is the internal PHY).

Fixes: ef3631220d2b ("net: ks8851: Register MDIO bus and the internal PHY")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210111125046.36326-1-marex@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/micrel/Kconfig