net: broadcom: BCM4908_ENET should not default to y, unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 16 Mar 2021 14:03:41 +0000 (15:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 22:26:31 +0000 (15:26 -0700)
commita3bc483216650a7232559bf0a1debfbabff3e12c
tree032ba18b4902ec7418b467999389d03d86ca7258
parentd29334c15d33a6a92d2043ca88f84cd5ad026c57
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>
drivers/net/ethernet/broadcom/Kconfig