OSDN Git Service

phy: xgene: Depend on ARCH_XGENE rather than plain arm64
authorMark Brown <broonie@kernel.org>
Mon, 6 Mar 2023 17:05:35 +0000 (17:05 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 20 Mar 2023 12:44:59 +0000 (18:14 +0530)
commit84a59a314263c21de1b308abda7f7eea92da740d
treed9b58ce50cfd7701c0aba661662c20713c8ea431
parente3be4dd2c8d8aabfd2c3127d0e2e5754d3ae82d6
phy: xgene: Depend on ARCH_XGENE rather than plain arm64

The X-Gene PHY driver is unlikely to be useful on a kernel without general
X-Gene support enabled but currently only depends on arm64 rather than the
specific platform support. Narrow the dependency to ARCH_XGENE like we do
for other X-Gene specific drivers to ensure that users who have configured
down the set of platforms enabled don't see the option.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230221-phy-build-deps-v1-1-7091bcbd16b0@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig