# \[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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/01/6225769
- Thread: https://ratatoskr.run/netdev/2021/01/6225769/t.md

```text
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

```
