phy: marvell: Tighten MVEBU_COMPHY_SUPPORT dependencies
authorTom Rini <trini@konsulko.com>
Thu, 25 Sep 2025 20:56:14 +0000 (14:56 -0600)
committerStefan Roese <stefan.roese@mailbox.org>
Mon, 13 Oct 2025 14:13:21 +0000 (16:13 +0200)
This driver cannot link without access to functions that are defined in
files that are only build on some platforms.  Express those requirements
in Kconfig as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>
drivers/phy/marvell/Kconfig

index b5f69c0..c66197d 100644 (file)
@@ -1,5 +1,6 @@
 config MVEBU_COMPHY_SUPPORT
        bool "ComPhy SerDes driver"
+       depends on ARMADA_3700 || ARMADA_8K
        help
          Choose this option to add support
          for Comphy driver.