Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: broadcom: BCM4908_ENET should not default to y, unconditionally

Merely enabling compile-testing should not enable additional code.
To fix this, restrict the automatic enabling of BCM4908_ENET to
ARCH_BCM4908.

Fixes: 4feffeadbcb2e5b1 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Geert Uytterhoeven and committed by
David S. Miller
a3bc4832 d29334c1

+1 -1
+1 -1
drivers/net/ethernet/broadcom/Kconfig
··· 54 54 config BCM4908_ENET 55 55 tristate "Broadcom BCM4908 internal mac support" 56 56 depends on ARCH_BCM4908 || COMPILE_TEST 57 - default y 57 + default y if ARCH_BCM4908 58 58 help 59 59 This driver supports Ethernet controller integrated into Broadcom 60 60 BCM4908 family SoCs.