diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-07-17 17:42:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-18 22:53:48 +0200 |
commit | 7f7b7574555e2189135098885208821d0acd4850 (patch) | |
tree | 4eda75c860a809917649bf5af3f73b5008fbdab9 | |
parent | net: phy: Drop OF dependency for MDIO_BCM_UNIMAC (diff) | |
download | linux-7f7b7574555e2189135098885208821d0acd4850.tar.xz linux-7f7b7574555e2189135098885208821d0acd4850.zip |
net: ethernet: broadcom: Drop dependency on OF
Both BCMGENET and SYSTEMPORT build just fine with CONFIG_OF=n, we do have a
dependency on HAS_IOMEM that was not being reflected for SYSTEMPORT so add
that.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index 4c3bfde6e8de..b7aa8ad96dfb 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig @@ -61,7 +61,7 @@ config BCM63XX_ENET config BCMGENET tristate "Broadcom GENET internal MAC support" - depends on OF && HAS_IOMEM + depends on HAS_IOMEM select MII select PHYLIB select FIXED_PHY @@ -181,7 +181,7 @@ config BGMAC_PLATFORM config SYSTEMPORT tristate "Broadcom SYSTEMPORT internal MAC support" - depends on OF + depends on HAS_IOMEM depends on NET_DSA || !NET_DSA select MII select PHYLIB |