diff mbox series

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

Message ID 20210106191546.1358324-1-f.fainelli@gmail.com
State New
Headers show
Series [net-next] net: broadcom: Drop OF dependency from BGMAC_PLATFORM | expand

Commit Message

Florian Fainelli Jan. 6, 2021, 7:15 p.m. UTC
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 <f.fainelli@gmail.com>
---
 drivers/net/ethernet/broadcom/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Jakub Kicinski Jan. 7, 2021, 8:52 p.m. UTC | #1
On Wed, 6 Jan 2021 11:27:29 -0800 Randy Dunlap wrote:
> 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@infradead.org>


Applied, thanks!
diff mbox series

Patch

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