phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 15:02:52 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 07:50:13 +0000 (09:50 +0200)
commit53191c1d78b1b6c8f0ff730a286a3e1e5e8a1e47
tree40510f765401eb5b2adf8735d41e85c1bfef7f38
parent6cca7cc213d6187ccfa963e933999114b880533a
phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally

[ Upstream commit 6cb17707aad869de163d7bf42c253caf501be4e2 ]

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: eee47538ec1f2619 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/marvell/Kconfig