Skip to content

Commit 6cb1770

Browse files
geertuvinodkoul
authored andcommitted
phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of ARMADA375_USBCLUSTER_PHY to MACH_ARMADA_375, and ask the user in case of compile-testing. Fixes: eee4753 ("phy: add support for USB cluster on the Armada 375 SoC") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20210208150252.424706-1-geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent f26fde3 commit 6cb1770

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/phy/marvell/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Phy drivers for Marvell platforms
44
#
55
config ARMADA375_USBCLUSTER_PHY
6-
def_bool y
7-
depends on MACH_ARMADA_375 || COMPILE_TEST
6+
bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
7+
default y if MACH_ARMADA_375
88
depends on OF && HAS_IOMEM
99
select GENERIC_PHY
1010

0 commit comments

Comments
 (0)