summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/microchip/fdma/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-09-24 11:59:09 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-01 11:31:43 +0200
commit1910bd470a0acea01b88722be61f0dfa29089730 (patch)
tree5e0d43d9c459b9a1529d55f20e7d9153f98ca8a0 /drivers/net/ethernet/microchip/fdma/Kconfig
parentnet: fec: Reload PTP registers after link-state change (diff)
downloadlinux-1910bd470a0acea01b88722be61f0dfa29089730.tar.xz
linux-1910bd470a0acea01b88722be61f0dfa29089730.zip
net: microchip: Make FDMA config symbol invisible
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/microchip/fdma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/fdma/Kconfig b/drivers/net/ethernet/microchip/fdma/Kconfig
index 59159ad6701a..ec228c061351 100644
--- a/drivers/net/ethernet/microchip/fdma/Kconfig
+++ b/drivers/net/ethernet/microchip/fdma/Kconfig
@@ -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.