]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ethernet: Make OA_TC6 config symbol invisible
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 12 Dec 2024 09:11:43 +0000 (10:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 15 Dec 2024 21:49:33 +0000 (13:49 -0800)
Commit aa58bec064ab1622 ("net: ethernet: oa_tc6: implement register
write operation") introduced a library that implements the OPEN Alliance
TC6 10BASE-T1x MAC-PHY Serial Interface protocol for supporting
10BASE-T1x MAC-PHYs.

There is no need to ask the user about enabling this library, as all
drivers that use it select the OA_TC6 symbol.  Hence make the symbol
invisible, unless when compile-testing.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/3b600550745af10ab7d7c3526353931c1d39f641.1733994552.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/Kconfig

index 9a542e3c9b05d8775728a9cf00fc3730d5248c77..977b42bc1e8c1e8804eb7fafa9ed85252d956cad 100644 (file)
@@ -159,7 +159,7 @@ config ETHOC
          Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.
 
 config OA_TC6
-       tristate "OPEN Alliance TC6 10BASE-T1x MAC-PHY support"
+       tristate "OPEN Alliance TC6 10BASE-T1x MAC-PHY support" if COMPILE_TEST
        depends on SPI
        select PHYLIB
        help