net: broadcom: Drop OF dependency from BGMAC_PLATFORM
Subsystems (2)
PATCH 1/1 net: broadcom: Drop OF dependency from BGMAC_PLATFORM
All of the OF code that is used has stubbed and will compile and link just fine, keeping COMPILE_TEST is enough.
Signed-off-by Florian Fainelli <[email protected]>
--- drivers/net/ethernet/broadcom/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/broadcom/Kconfig +0 -1
@@ -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
Signature · 1 line
2.25.1
Quoted 2 lines · Florian Fainelli
All of the OF code that is used has stubbed and will compile and link just fine, keeping
COMPILE_TESTis enough.
Yes, that matches my understanding.
I wish we had a list of which API families have full stub support...
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 18 lines
Signed-off-by Florian Fainelli <[email protected]>--- drivers/net/ethernet/broadcom/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/broadcom/Kconfig +0
-1@@ -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
Signature · 1 line
~Randy
Quoted 9 lines · On Wed, 6 Jan 2021 11:27:29 -0800 Randy Dunlap wrote:
Quoted 2 lines · Florian Fainelli
All of the OF code that is used has stubbed and will compile and link just fine, keeping
COMPILE_TESTis enough.Yes, that matches my understanding.
I wish we had a list of which API families have full stub support...
Acked-by Randy Dunlap <[email protected]>
Applied, thanks!