Re: [PATCH net-next] net: broadcom: Drop OF dependency from BGMAC_PLATFORM

From: Randy Dunlap
Date: Wed Jan 06 2021 - 14:28:35 EST


On 1/6/21 11:15 AM, Florian Fainelli wrote:
> All of the OF code that is used has stubbed and will compile and link
> just fine, keeping COMPILE_TEST is enough.

Yes, that matches my understanding.

I wish we had a list of which API families have full stub support...

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> drivers/net/ethernet/broadcom/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
> index 7b79528d6eed..4bdf8fbe75a6 100644
> --- a/drivers/net/ethernet/broadcom/Kconfig
> +++ b/drivers/net/ethernet/broadcom/Kconfig
> @@ -174,7 +174,6 @@ config BGMAC_BCMA
> config BGMAC_PLATFORM
> tristate "Broadcom iProc GBit platform support"
> depends on ARCH_BCM_IPROC || COMPILE_TEST
> - depends on OF
> select BGMAC
> select PHYLIB
> select FIXED_PHY
>


--
~Randy