diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-31 10:19:37 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-31 13:16:41 +0200 |
commit | a113ef0a5e2eb3015da2e6dee0656d78e66fd691 (patch) | |
tree | ebc5a347a93ac65f498f0acada911aff8ee39a0e /drivers/phy/microchip/Kconfig | |
parent | phy: cadence-torrent: Add delay for PIPE clock to be stable (diff) | |
download | linux-a113ef0a5e2eb3015da2e6dee0656d78e66fd691.tar.xz linux-a113ef0a5e2eb3015da2e6dee0656d78e66fd691.zip |
phy: microchip: PHY_SPARX5_SERDES should depend on ARCH_SPARX5
The Microchip Sparx5 SerDes PHY is present only Microchip Sparx5 SoCs.
Hence add a dependency on ARCH_SPARX5, to prevent asking the user about
this driver when configuring a kernel without support for Sparx5 SoCs.
Fixes: 2ff8a1eeb5aa8bb4 ("phy: Add Sparx5 ethernet serdes PHY driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210331081937.367408-1-geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/microchip/Kconfig')
-rw-r--r-- | drivers/phy/microchip/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/microchip/Kconfig b/drivers/phy/microchip/Kconfig index 0b1a818e01b8..3728a284bf64 100644 --- a/drivers/phy/microchip/Kconfig +++ b/drivers/phy/microchip/Kconfig @@ -6,6 +6,7 @@ config PHY_SPARX5_SERDES tristate "Microchip Sparx5 SerDes PHY driver" select GENERIC_PHY + depends on ARCH_SPARX5 || COMPILE_TEST depends on OF depends on HAS_IOMEM help |