mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
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>
This commit is contained in:
parent
e3be4dd2c8
commit
84a59a3142
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ config PHY_PISTACHIO_USB
|
||||||
|
|
||||||
config PHY_XGENE
|
config PHY_XGENE
|
||||||
tristate "APM X-Gene 15Gbps PHY support"
|
tristate "APM X-Gene 15Gbps PHY support"
|
||||||
depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
|
depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST)
|
||||||
select GENERIC_PHY
|
select GENERIC_PHY
|
||||||
help
|
help
|
||||||
This option enables support for APM X-Gene SoC multi-purpose PHY.
|
This option enables support for APM X-Gene SoC multi-purpose PHY.
|
||||||
|
|
Loading…
Reference in a new issue