This driver cannot link without access to functions that are defined in files that are only build on some platforms. Express those requirements in Kconfig as well.
Signed-off-by: Tom Rini <[email protected]> --- Cc: Stefan Roese <[email protected]> --- drivers/phy/marvell/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/marvell/Kconfig b/drivers/phy/marvell/Kconfig index b5f69c0a96d3..c66197de1433 100644 --- a/drivers/phy/marvell/Kconfig +++ b/drivers/phy/marvell/Kconfig @@ -1,5 +1,6 @@ config MVEBU_COMPHY_SUPPORT bool "ComPhy SerDes driver" + depends on ARMADA_3700 || ARMADA_8K help Choose this option to add support for Comphy driver. -- 2.43.0

