]> git.baikalelectronics.ru Git - kernel.git/commit
phy: PHY_FSL_LYNX_28G should depend on ARCH_LAYERSCAPE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 29 Mar 2022 12:56:31 +0000 (14:56 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Mar 2022 15:45:16 +0000 (08:45 -0700)
commitdc3eebb40d9cbbbc5a6f17d49940863a806a8d63
tree8a0e3b25142b7c4921176c01bbfc851773b66636
parentb47dd1abc321cd51f8962011f83ccbe5d2542b88
phy: PHY_FSL_LYNX_28G should depend on ARCH_LAYERSCAPE

Freescale Layerscape Lynx 28G SerDes PHYs are only present on
Freescale/NXP Layerscape SoCs.

Move PHY_FSL_LYNX_28G outside the block for ARCH_MXC, as the latter
is meant for i.MX8 SoCs, which is a different family than Layerscape.
Add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about
this driver when configuring a kernel without Layerscape SoC support.

Fixes: 85a8cb09767572a6 ("Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc")
Fixes: 7971b3b58b80886d ("phy: add support for the Layerscape SerDes 28G")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/phy/freescale/Kconfig