1 From a3bc483216650a7232559bf0a1debfbabff3e12c Mon Sep 17 00:00:00 2001
2 From: Geert Uytterhoeven <geert+renesas@glider.be>
3 Date: Tue, 16 Mar 2021 15:03:41 +0100
4 Subject: [PATCH] net: broadcom: BCM4908_ENET should not default to y,
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Merely enabling compile-testing should not enable additional code.
11 To fix this, restrict the automatic enabling of BCM4908_ENET to
14 Fixes: 4feffeadbcb2e5b1 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
15 Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
16 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
17 Acked-by: Rafał Miłecki <rafal@milecki.pl>
18 Signed-off-by: David S. Miller <davem@davemloft.net>
20 drivers/net/ethernet/broadcom/Kconfig | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
23 --- a/drivers/net/ethernet/broadcom/Kconfig
24 +++ b/drivers/net/ethernet/broadcom/Kconfig
25 @@ -54,7 +54,7 @@ config B44_PCI
27 tristate "Broadcom BCM4908 internal mac support"
28 depends on ARCH_BCM4908 || COMPILE_TEST
30 + default y if ARCH_BCM4908
32 This driver supports Ethernet controller integrated into Broadcom