Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mark Brown and committed by
Vinod Koul
84a59a31 e3be4dd2

+1 -1
+1 -1
drivers/phy/Kconfig
··· 44 44 45 45 config PHY_XGENE 46 46 tristate "APM X-Gene 15Gbps PHY support" 47 - depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST) 47 + depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST) 48 48 select GENERIC_PHY 49 49 help 50 50 This option enables support for APM X-Gene SoC multi-purpose PHY.