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

Subsystems: networking drivers, the rest

STALE2041d LANDED

Landed in mainline as ddb4d32ed660 on 2021-01-07.

3 messages, 3 authors, 2021-01-07 · open the first message on its own page

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

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-01-06 19:16:37

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(-)
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
-- 
2.25.1

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

From: Randy Dunlap <hidden>
Date: 2021-01-06 19:28:19

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 <redacted>

Thanks.
quoted hunk
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 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

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-07 20:52:53

On Wed, 6 Jan 2021 11:27:29 -0800 Randy Dunlap wrote:
On 1/6/21 11:15 AM, Florian Fainelli wrote:
quoted
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 <redacted>
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help