summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/phy/starfive/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/phy/starfive/Kconfig b/drivers/phy/starfive/Kconfig
index 0508f9b123e0..9508e2143011 100644
--- a/drivers/phy/starfive/Kconfig
+++ b/drivers/phy/starfive/Kconfig
@@ -3,6 +3,8 @@
# Phy drivers for StarFive platforms
#
+if ARCH_STARFIVE || COMPILE_TEST
+
config PHY_STARFIVE_JH7110_DPHY_RX
tristate "StarFive JH7110 D-PHY RX support"
depends on HAS_IOMEM
@@ -32,3 +34,5 @@ config PHY_STARFIVE_JH7110_USB
used with the Cadence USB controller.
If M is selected, the module will be called
phy-jh7110-usb.ko.
+
+endif # ARCH_STARFIVE || COMPILE_TEST