Re: [PATCH] net: broadcom: BCM4908_ENET should not default to y, unconditionally

From: Rafał Miłecki
Date: Tue Mar 16 2021 - 11:03:03 EST


On 2021-03-16 14:38, Geert Uytterhoeven wrote:
Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, drop the automatic enabling of BCM4908_ENET.

Fixes: 4feffeadbcb2e5b1 ("net: broadcom: bcm4908enet: add BCM4908
controller driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
Feel free to change to "default y if ARCH_BCM4908" and

To fix this, restrict the automatic enabling of BCM4908_ENET to
ARCH_BCM4908.

if you think BCM4908 SoCs cannot be used without enabling this.

Yes, please make it
default y if ARCH_BCM4908
instead.