net: microchip: Make FDMA config symbol invisible
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Sep 2024 09:59:09 +0000 (11:59 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 1 Oct 2024 09:31:43 +0000 (11:31 +0200)
There is no need to ask the user about enabling Microchip FDMA
functionality, as all drivers that use it select the FDMA symbol.
Hence make the symbol invisible, unless when compile-testing.

Fixes: 30e48a75df9c6ead ("net: microchip: add FDMA library")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/8e2bcd8899c417a962b7ee3f75b29f35b25d7933.1727171879.git.geert+renesas@glider.be
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/fdma/Kconfig

index 59159ad6701ad50bb984c1a88d2e33919945ba82..ec228c0613517ec3fe31292be89baabfb64c0cb6 100644 (file)
@@ -6,7 +6,7 @@
 if NET_VENDOR_MICROCHIP
 
 config FDMA
-       bool "FDMA API"
+       bool "FDMA API" if COMPILE_TEST
        help
          Provides the basic FDMA functionality for multiple Microchip
          switchcores.