The HiSi PHY only ships on the ARM SoC so depend on it.

Signed-off-by: Peter Robinson <pbrobin...@gmail.com>
---
 drivers/net/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 59b8313..be6f853 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -113,6 +113,7 @@ config MDIO_GPIO
 
 config MDIO_HISI_FEMAC
        tristate "Hisilicon FEMAC MDIO bus controller"
+       depends on ARCH_HISI || COMPILE_TEST
        depends on HAS_IOMEM && OF_MDIO
        help
          This module provides a driver for the MDIO busses found in the
-- 
2.9.3

Reply via email to